makefile fixes
This commit is contained in:
parent
f9ef25b285
commit
20313deda1
2
main.go
2
main.go
@ -26,7 +26,7 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
debugMode := true
|
||||
debugMode := false
|
||||
|
||||
args, err := args_parser.Parse(os.Args)
|
||||
if err != nil {
|
||||
|
||||
13
makefile
13
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
|
||||
install:
|
||||
go install
|
||||
|
||||
run: install release
|
||||
./.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
|
||||
Loading…
x
Reference in New Issue
Block a user