mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
change: load env once
This commit is contained in:
1
Makefile
1
Makefile
@@ -16,6 +16,7 @@ bump: ## bump hrp version, e.g. make bump version=4.0.0
|
||||
.PHONY: build
|
||||
build: ## build hrp cli tool
|
||||
@echo "[info] build hrp cli tool"
|
||||
go mod tidy
|
||||
go build -ldflags "\
|
||||
-s -w \
|
||||
-X 'github.com/httprunner/httprunner/v5/internal/version.GitCommit=$(shell git rev-parse HEAD)' \
|
||||
|
||||
Reference in New Issue
Block a user