mirror of
https://github.com/lyx0/nourybot-matrix.git
synced 2024-11-13 19:49:54 +01:00
add dev/prod options to Makefile
This commit is contained in:
parent
911a0fb724
commit
d2ce309228
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -2,7 +2,11 @@ BINARY_NAME=Nourybot-Matrix.out
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
go build -o ${BINARY_NAME} cmd/bot/*
|
go build -o ${BINARY_NAME} cmd/bot/*
|
||||||
./${BINARY_NAME}
|
./${BINARY_NAME} --env="dev"
|
||||||
|
|
||||||
|
prod:
|
||||||
|
go build -o ${BINARY_NAME} cmd/bot/*
|
||||||
|
./${BINARY_NAME} --env="prod"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -o ${BINARY_NAME} cmd/bot/*
|
go build -o ${BINARY_NAME} cmd/bot/*
|
||||||
|
|
Loading…
Reference in a new issue