This commit is contained in:
Lea Anthony 2019-10-08 06:12:08 +11:00 committed by GitHub
commit 20428b0407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
123 changed files with 13210 additions and 1491 deletions

25
scripts/build.sh Executable file
View file

@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Build runtime
echo "**** Building Runtime ****"
cd runtime/js
npm run build
cd ../..
echo "**** Packing Assets ****"
cd cmd
mewn
cd ..
cd lib/renderer
mewn
cd ../..
echo "**** Installing Wails locally ****"
cd cmd/wails
go install
cd ../..
echo "**** Tidying the mods! ****"
go mod tidy
echo "**** WE ARE DONE! ****"

View file

@ -10,6 +10,14 @@ package cmd
// Version - Wails version
const Version = "${TAG}"
EOF
# Build runtime
cd runtime/js
npm run build
cd ../..
mewn
git add cmd/version.go
git commit cmd/version.go -m "Bump to ${TAG}"
git tag ${TAG}