gosora/run-linux-nowebsockets
Azareal 83ae671948 Added some missing commands from the scripts for Linux.
Removed some unnecessary messages when cleaning up build artifacts.
Added the binary as a build artifact to be cleaned up.
git stash is now used for updates to better deal with changes to chmodded files.
2018-06-06 14:33:47 +10:00

31 lines
603 B
Plaintext

echo "Deleting artifacts from previous builds"
rm -f template_*.go
rm -f gen_*.go
rm -f tmpl_client/template_*.go
rm -f ./Gosora
echo "Generating the dynamic code"
go generate
echo "Building the router generator"
go build ./router_gen
echo "Running the router generator"
router_gen.exe
echo "Building the query generator"
go build ./query_gen
echo "Running the query generator"
query_gen.exe
echo "Building Gosora"
go build -o Gosora -tags no_ws
echo "Building the templates"
./Gosora -build-templates
echo "Building Gosora... Again"
go build -o Gosora -tags no_ws
echo "Running Gosora"
./Gosora