mirror-nourybot/Makefile

25 lines
531 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
2023-03-03 21:24:21 +01:00
jqapi:
cd cmd/api && go build -o Nourybot-Api && ./Nourybot-Api | jq
go build -o ${BINARY_NAME_API} cmd/api
./${BINARY_NAME} | jq
2021-10-29 17:08:02 +02:00
2022-03-10 23:00:37 +01:00
xd:
2023-03-03 21:24:21 +01:00
go build -o ${BINARY_NAME} cmd/bot/main.go
./${BINARY_NAME} -env="dev"
xdprod:
go build -o ${BINARY_NAME} cmd/bot/main.go
./${BINARY_NAME} -env="prod"
2022-08-07 16:08:25 +02:00
jq:
2023-03-03 21:24:21 +01:00
go build -o ${BINARY_NAME} cmd/bot/main.go
./${BINARY_NAME} -env="dev" | jq
jqprod:
go build -o ${BINARY_NAME} cmd/bot/main.go
./${BINARY_NAME} -env="prod" | jq