2018-06-06 04:16:27 +00:00
|
|
|
echo "Deleting artifacts from previous builds"
|
2018-06-06 04:33:47 +00:00
|
|
|
rm -f template_*.go
|
|
|
|
rm -f gen_*.go
|
|
|
|
rm -f tmpl_client/template_*.go
|
|
|
|
rm -f ./Gosora
|
|
|
|
|
|
|
|
echo "Building the router generator"
|
2018-11-22 08:50:53 +00:00
|
|
|
go build -o RouterGen "./router_gen"
|
2018-06-06 04:33:47 +00:00
|
|
|
echo "Running the router generator"
|
2018-06-06 04:42:57 +00:00
|
|
|
./RouterGen
|
2018-06-06 04:33:47 +00:00
|
|
|
|
|
|
|
echo "Building the query generator"
|
2018-11-22 08:50:53 +00:00
|
|
|
go build -o QueryGen "./cmd/query_gen"
|
2018-06-06 04:33:47 +00:00
|
|
|
echo "Running the query generator"
|
2018-06-06 04:42:57 +00:00
|
|
|
./QueryGen
|
2018-06-06 04:16:27 +00:00
|
|
|
|
2017-01-26 13:37:50 +00:00
|
|
|
echo "Building Gosora"
|
2017-06-05 11:57:27 +00:00
|
|
|
go generate
|
2017-01-26 13:37:50 +00:00
|
|
|
go build -o Gosora
|
2018-06-06 04:16:27 +00:00
|
|
|
|
2017-01-26 13:37:50 +00:00
|
|
|
echo "Building the installer"
|
2018-11-22 08:50:53 +00:00
|
|
|
go build -o Installer "./install"
|