mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
25 lines
531 B
Makefile
25 lines
531 B
Makefile
BINARY_NAME=Nourybot.out
|
|
BINARY_NAME_API=NourybotApi.out
|
|
|
|
jqapi:
|
|
cd cmd/api && go build -o Nourybot-Api && ./Nourybot-Api | jq
|
|
go build -o ${BINARY_NAME_API} cmd/api
|
|
./${BINARY_NAME} | jq
|
|
|
|
xd:
|
|
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"
|
|
|
|
jq:
|
|
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
|
|
|