mirror-nourybot/Makefile

19 lines
463 B
Makefile
Raw Normal View History

2023-03-03 21:24:21 +01:00
BINARY_NAME=Nourybot.out
BINARY_NAME_API=NourybotApi.out
2021-10-20 01:00:12 +02:00
2022-03-10 23:00:37 +01:00
xd:
2023-03-03 22:16:00 +01:00
cd cmd/bot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev"
2023-03-03 21:24:21 +01:00
xdprod:
2023-03-03 22:16:00 +01:00
cd cmd/bot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod"
2022-08-07 16:08:25 +02:00
jq:
2023-03-03 22:16:00 +01:00
cd cmd/bot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="dev" | jq
2023-03-03 21:24:21 +01:00
jqprod:
2023-03-03 22:16:00 +01:00
cd cmd/bot && go build -o ${BINARY_NAME} && ./${BINARY_NAME} -env="prod" | jq
jqapi:
go build -o ${BINARY_NAME_API} cmd/api && ./${BINARY_NAME} | jq