I forgot this is Linux not Windows, this should do it.
This commit is contained in:
parent
83ae671948
commit
7e935b6df0
14
build-linux
14
build-linux
|
@ -5,14 +5,20 @@ rm -f tmpl_client/template_*.go
|
|||
rm -f ./Gosora
|
||||
|
||||
echo "Building the router generator"
|
||||
go build ./router_gen
|
||||
cd ./router_gen
|
||||
go build -o RouterGen
|
||||
mv ./RouterGen ..
|
||||
cd ..
|
||||
echo "Running the router generator"
|
||||
router_gen.exe
|
||||
./RouterGen
|
||||
|
||||
echo "Building the query generator"
|
||||
go build ./query_gen
|
||||
cd ./query_gen
|
||||
go build -o QueryGen
|
||||
mv ./QueryGen ..
|
||||
cd ..
|
||||
echo "Running the query generator"
|
||||
query_gen.exe
|
||||
./QueryGen
|
||||
|
||||
echo "Building Gosora"
|
||||
go generate
|
||||
|
|
|
@ -5,14 +5,20 @@ rm -f tmpl_client/template_*.go
|
|||
rm -f ./Gosora
|
||||
|
||||
echo "Building the router generator"
|
||||
go build ./router_gen
|
||||
cd ./router_gen
|
||||
go build -o RouterGen
|
||||
mv ./RouterGen ..
|
||||
cd ..
|
||||
echo "Running the router generator"
|
||||
router_gen.exe
|
||||
./RouterGen
|
||||
|
||||
echo "Building the query generator"
|
||||
go build ./query_gen
|
||||
cd ./query_gen
|
||||
go build -o QueryGen
|
||||
mv ./QueryGen ..
|
||||
cd ..
|
||||
echo "Running the query generator"
|
||||
query_gen.exe
|
||||
./QueryGen
|
||||
|
||||
echo "Building Gosora"
|
||||
go generate
|
||||
|
|
14
run-linux
14
run-linux
|
@ -8,14 +8,20 @@ echo "Generating the dynamic code"
|
|||
go generate
|
||||
|
||||
echo "Building the router generator"
|
||||
go build ./router_gen
|
||||
cd ./router_gen
|
||||
go build -o RouterGen
|
||||
mv ./RouterGen ..
|
||||
cd ..
|
||||
echo "Running the router generator"
|
||||
router_gen.exe
|
||||
./RouterGen
|
||||
|
||||
echo "Building the query generator"
|
||||
go build ./query_gen
|
||||
cd ./query_gen
|
||||
go build -o QueryGen
|
||||
mv ./QueryGen ..
|
||||
cd ..
|
||||
echo "Running the query generator"
|
||||
query_gen.exe
|
||||
./QueryGen
|
||||
|
||||
echo "Building Gosora"
|
||||
go build -o Gosora
|
||||
|
|
|
@ -8,14 +8,20 @@ echo "Generating the dynamic code"
|
|||
go generate
|
||||
|
||||
echo "Building the router generator"
|
||||
go build ./router_gen
|
||||
cd ./router_gen
|
||||
go build -o RouterGen
|
||||
mv ./RouterGen ..
|
||||
cd ..
|
||||
echo "Running the router generator"
|
||||
router_gen.exe
|
||||
./RouterGen
|
||||
|
||||
echo "Building the query generator"
|
||||
go build ./query_gen
|
||||
cd ./query_gen
|
||||
go build -o QueryGen
|
||||
mv ./QueryGen ..
|
||||
cd ..
|
||||
echo "Running the query generator"
|
||||
query_gen.exe
|
||||
./QueryGen
|
||||
|
||||
echo "Building Gosora"
|
||||
go build -o Gosora -tags no_ws
|
||||
|
|
Loading…
Reference in New Issue