gosora/build-linux

25 lines
666 B
Plaintext
Raw Normal View History

echo "Building the router generator"
2019-07-10 15:33:07 +00:00
go build -ldflags="-s -w" -o RouterGen "./router_gen"
echo "Running the router generator"
./RouterGen
echo "Building the hook stub generator"
go build -ldflags="-s -w" -o HookStubGen "./cmd/hook_stub_gen"
echo "Running the hook stub generator"
./HookStubGen
echo "Building the hook generator"
go build -tags hookgen -ldflags="-s -w" -o HookGen "./cmd/hook_gen"
echo "Running the hook generator"
./HookGen
echo "Building the query generator"
2019-07-10 15:33:07 +00:00
go build -ldflags="-s -w" -o QueryGen "./cmd/query_gen"
echo "Running the query generator"
./QueryGen
echo "Building Gosora"
go generate
2022-02-21 03:42:55 +00:00
go build -ldflags="-s -w" -o ./bin/gosora.exe