change: make opencv as optional build tags

This commit is contained in:
debugtalk
2022-09-21 15:37:10 +08:00
parent a12b72bc10
commit a742b575fa
6 changed files with 187 additions and 133 deletions

View File

@@ -15,6 +15,7 @@ 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
# check output and version