mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 08:59:44 +08:00
change: make ocr as optional build tags
This commit is contained in:
@@ -15,8 +15,8 @@ mkdir -p "output"
|
||||
bin_path="output/hrp"
|
||||
|
||||
# build
|
||||
# optional build tags: opencv
|
||||
go build -ldflags '-s -w' -o "$bin_path" hrp/cmd/cli/main.go
|
||||
# optional build tags: opencv ocr
|
||||
go build -ldflags '-s -w' -tags ocr -o "$bin_path" hrp/cmd/cli/main.go
|
||||
|
||||
# check output and version
|
||||
ls -lh "$bin_path"
|
||||
|
||||
Reference in New Issue
Block a user