From d2ce309228e6e53962a1377de796780ee5c67474 Mon Sep 17 00:00:00 2001 From: lyx0 <66651385+lyx0@users.noreply.github.com> Date: Thu, 11 Jan 2024 01:26:27 +0100 Subject: [PATCH] add dev/prod options to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce7e24f..28d6148 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,11 @@ BINARY_NAME=Nourybot-Matrix.out dev: 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: go build -o ${BINARY_NAME} cmd/bot/*