mirror of https://bitbucket.org/ausocean/av.git
Invert tag for inclusion of CV functionality
Prior to this change, CV was included by default, however, this doesn't seem appropriate given that this functionality is rarely used. For that reason, the meaning of the nocv tag has been inverted i.e. it is now called withcv, and it the tag must be included to build CV components.
This commit is contained in:
parent
fe2f091272
commit
67e03d0f5c
|
@ -23,9 +23,9 @@ jobs:
|
|||
|
||||
- run: go get -d -t -v ./...
|
||||
|
||||
- run: go build -v -tags nocv ./...
|
||||
- run: go build -v ./...
|
||||
|
||||
- run: go test -v -tags nocv ./...
|
||||
- run: go test -v ./...
|
||||
|
||||
- save_cache:
|
||||
key: v1-pkg-cache
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build nocv
|
||||
// +build nocv
|
||||
//go:build !withcv
|
||||
// +build !withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
// What it does:
|
||||
//
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build debug,!nocv
|
||||
//go:build debug && withcv
|
||||
// +build debug,withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build nocv
|
||||
//go:build !withcv
|
||||
// +build !withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build !debug,!nocv
|
||||
//go:build debug && withcv
|
||||
// +build debug,withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -25,7 +25,7 @@ endif
|
|||
|
||||
rebuild:
|
||||
chmod +x run.sh
|
||||
cd ../cmd/$(BIN_NAME); go build -tags nocv
|
||||
cd ../cmd/$(BIN_NAME); go build -tags withcv
|
||||
|
||||
install: as_root make_dirs soft_copy_files rebuild syncreboot
|
||||
@echo "Install complete"
|
||||
|
|
|
@ -13,7 +13,7 @@ Sending is handled by "senders", defined in the senders.go file.
|
|||
|
||||
Building the revid package requires gocv.io/x/gocv to be installed. On platforms
|
||||
where this is not available, a reduced functionality package can be built using
|
||||
the `nocv` build tag.
|
||||
the `withcv` build tag.
|
||||
|
||||
# Contributing
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//go:build !nocv
|
||||
// +build !nocv
|
||||
//go:build withcv
|
||||
// +build withcv
|
||||
|
||||
/*
|
||||
DESCRIPTION
|
||||
|
|
Loading…
Reference in New Issue