makefile fixes

This commit is contained in:
Sergey Chubaryan 2024-08-18 23:01:57 +03:00
parent f9ef25b285
commit 20313deda1
2 changed files with 6 additions and 9 deletions

View File

@ -26,7 +26,7 @@ import (
) )
func main() { func main() {
debugMode := true debugMode := false
args, err := args_parser.Parse(os.Args) args, err := args_parser.Parse(os.Args)
if err != nil { if err != nil {

View File

@ -1,13 +1,10 @@
all: release all: install release
release: release:
GOEXPERIMENT=boringcrypto go build -ldflags "-s -w" -o ./.build/release/backend main.go GOEXPERIMENT=boringcrypto go build -ldflags "-s -w" -o ./.build/release/backend main.go
run: release install:
go install
run: install release
./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof ./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof
venv:
python3 -m pip install --user virtualenv
locust:
pip3 install locust