mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 10:00:23 +08:00
update docs
This commit is contained in:
2
Makefile
2
Makefile
@@ -28,7 +28,7 @@ build: ## build hrp cli tool
|
||||
# -w : 忽略 DWARF 调试信息
|
||||
# -extldflags "-static" : 传递给外部链接器的标志,强制静态链接
|
||||
@echo "[info] build hrp cli tool"
|
||||
GOTOOLCHAIN=go1.23 go mod tidy
|
||||
GOTOOLCHAIN=go1.23.7 go mod tidy
|
||||
GOOS=${TARGET_OS} GOARCH=${TARGET_ARCH} CGO_ENABLED=0 go build -tags netgo,osusergo -trimpath -ldflags "\
|
||||
-s -w \
|
||||
-X 'github.com/httprunner/httprunner/v5/internal/version.GitCommit=$(shell git rev-parse HEAD)' \
|
||||
|
||||
Reference in New Issue
Block a user