This commit is contained in:
Lea Anthony
2019-10-08 06:12:08 +11:00
committed by GitHub
parent 694f80434a
commit 20428b0407
123 changed files with 13212 additions and 1493 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}