mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
adapt Makefile
This commit is contained in:
parent
c0dd5a88b7
commit
88dc9977d2
32
Makefile
32
Makefile
|
@ -1,14 +1,24 @@
|
||||||
build:
|
BINARY_NAME=Nourybot.out
|
||||||
cd cmd/bot && go build -o Nourybot
|
BINARY_NAME_API=NourybotApi.out
|
||||||
|
|
||||||
run:
|
|
||||||
cd cmd/bot && ./Nourybot
|
|
||||||
|
|
||||||
xd:
|
|
||||||
cd cmd/bot && go build -o Nourybot && ./Nourybot
|
|
||||||
|
|
||||||
jq:
|
|
||||||
cd cmd/bot && go build -o Nourybot && ./Nourybot | jq
|
|
||||||
|
|
||||||
jqapi:
|
jqapi:
|
||||||
cd cmd/api && go build -o Nourybot-Api && ./Nourybot-Api | jq
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue