gosora/build-linux
Azareal 3079080acf Refactor these shell scripts.
Bumped up the version of MariaDB for Travis.
2018-11-22 18:50:53 +10:00

23 lines
494 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 "Building the router generator"
go build -o RouterGen "./router_gen"
echo "Running the router generator"
./RouterGen
echo "Building the query generator"
go build -o QueryGen "./cmd/query_gen"
echo "Running the query generator"
./QueryGen
echo "Building Gosora"
go generate
go build -o Gosora
echo "Building the installer"
go build -o Installer "./install"