Gosora should build on Linux again, for some reason, it needs gcc though, must be one of the dependencies.

This commit is contained in:
Azareal 2018-11-22 18:08:41 +10:00
parent 52c8be4173
commit 45465ef210
2 changed files with 4 additions and 16 deletions

View File

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

View File

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