diff --git a/main.go b/main.go index 28a36d5..f8f5142 100644 --- a/main.go +++ b/main.go @@ -26,7 +26,7 @@ import ( ) func main() { - debugMode := true + debugMode := false args, err := args_parser.Parse(os.Args) if err != nil { diff --git a/makefile b/makefile index 90e2374..6296eb9 100644 --- a/makefile +++ b/makefile @@ -1,13 +1,10 @@ -all: release +all: install release release: GOEXPERIMENT=boringcrypto go build -ldflags "-s -w" -o ./.build/release/backend main.go -run: release - ./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof +install: + go install -venv: - python3 -m pip install --user virtualenv - -locust: - pip3 install locust \ No newline at end of file +run: install release + ./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof \ No newline at end of file