mirror-nourybot/Makefile
2023-08-04 20:57:40 +02:00

16 lines
411 B
Makefile

BINARY_NAME=Nourybot.out
BINARY_NAME_API=NourybotApi.out
xd:
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev"
xdprod:
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod"
jq:
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev" | jq
jqprod:
cd cmd/nourybot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod" | jq