mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
tidy up Makefile
This commit is contained in:
parent
b88b4345f5
commit
a4747424ba
16
Makefile
16
Makefile
|
@ -2,15 +2,23 @@ BINARY_NAME=Nourybot.out
|
|||
BINARY_NAME_API=NourybotApi.out
|
||||
|
||||
xd:
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev"
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
||||
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
||||
./bin/${BINARY_NAME} -env="dev"
|
||||
|
||||
xdprod:
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod"
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
||||
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
||||
./bin/${BINARY_NAME} -env="prod"
|
||||
|
||||
jq:
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev" | jq
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
||||
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
||||
./bin/${BINARY_NAME} -env="dev" | jq
|
||||
|
||||
jqprod:
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod" | jq
|
||||
cd cmd/nourybot && go build -o ${BINARY_NAME}
|
||||
mv cmd/nourybot/${BINARY_NAME} ./bin/${BINARY_NAME}
|
||||
./bin/${BINARY_NAME} -env="prod" | jq
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue