I forgot this is Linux not Windows, this should do it.

This commit is contained in:
Azareal 2018-06-06 14:42:57 +10:00
parent 83ae671948
commit 7e935b6df0
4 changed files with 40 additions and 16 deletions

View File

@ -5,14 +5,20 @@ rm -f tmpl_client/template_*.go
rm -f ./Gosora rm -f ./Gosora
echo "Building the router generator" echo "Building the router generator"
go build ./router_gen cd ./router_gen
go build -o RouterGen
mv ./RouterGen ..
cd ..
echo "Running the router generator" echo "Running the router generator"
router_gen.exe ./RouterGen
echo "Building the query generator" echo "Building the query generator"
go build ./query_gen cd ./query_gen
go build -o QueryGen
mv ./QueryGen ..
cd ..
echo "Running the query generator" echo "Running the query generator"
query_gen.exe ./QueryGen
echo "Building Gosora" echo "Building Gosora"
go generate go generate

View File

@ -5,14 +5,20 @@ rm -f tmpl_client/template_*.go
rm -f ./Gosora rm -f ./Gosora
echo "Building the router generator" echo "Building the router generator"
go build ./router_gen cd ./router_gen
go build -o RouterGen
mv ./RouterGen ..
cd ..
echo "Running the router generator" echo "Running the router generator"
router_gen.exe ./RouterGen
echo "Building the query generator" echo "Building the query generator"
go build ./query_gen cd ./query_gen
go build -o QueryGen
mv ./QueryGen ..
cd ..
echo "Running the query generator" echo "Running the query generator"
query_gen.exe ./QueryGen
echo "Building Gosora" echo "Building Gosora"
go generate go generate

View File

@ -8,14 +8,20 @@ echo "Generating the dynamic code"
go generate go generate
echo "Building the router generator" echo "Building the router generator"
go build ./router_gen cd ./router_gen
go build -o RouterGen
mv ./RouterGen ..
cd ..
echo "Running the router generator" echo "Running the router generator"
router_gen.exe ./RouterGen
echo "Building the query generator" echo "Building the query generator"
go build ./query_gen cd ./query_gen
go build -o QueryGen
mv ./QueryGen ..
cd ..
echo "Running the query generator" echo "Running the query generator"
query_gen.exe ./QueryGen
echo "Building Gosora" echo "Building Gosora"
go build -o Gosora go build -o Gosora

View File

@ -8,14 +8,20 @@ echo "Generating the dynamic code"
go generate go generate
echo "Building the router generator" echo "Building the router generator"
go build ./router_gen cd ./router_gen
go build -o RouterGen
mv ./RouterGen ..
cd ..
echo "Running the router generator" echo "Running the router generator"
router_gen.exe ./RouterGen
echo "Building the query generator" echo "Building the query generator"
go build ./query_gen cd ./query_gen
go build -o QueryGen
mv ./QueryGen ..
cd ..
echo "Running the query generator" echo "Running the query generator"
query_gen.exe ./QueryGen
echo "Building Gosora" echo "Building Gosora"
go build -o Gosora -tags no_ws go build -o Gosora -tags no_ws