makefile fixes
This commit is contained in:
parent
f9ef25b285
commit
20313deda1
2
main.go
2
main.go
@ -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 {
|
||||||
|
|||||||
13
makefile
13
makefile
@ -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:
|
||||||
./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof
|
go install
|
||||||
|
|
||||||
venv:
|
run: install release
|
||||||
python3 -m pip install --user virtualenv
|
./.build/release/backend -c ./misc/config.yaml -o ./.run/log.txt -p ./.run/cpu.pprof
|
||||||
|
|
||||||
locust:
|
|
||||||
pip3 install locust
|
|
||||||
Loading…
x
Reference in New Issue
Block a user