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 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:
|
- save_cache:
|
||||||
key: v1-pkg-cache
|
key: v1-pkg-cache
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build nocv
|
//go:build !withcv
|
||||||
// +build nocv
|
// +build !withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
// What it does:
|
// What it does:
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build debug,!nocv
|
//go:build debug && withcv
|
||||||
|
// +build debug,withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build !nocv
|
//go:build withcv
|
||||||
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build nocv
|
//go:build !withcv
|
||||||
|
// +build !withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build !nocv
|
//go:build withcv
|
||||||
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
// +build !debug,!nocv
|
//go:build debug && withcv
|
||||||
|
// +build debug,withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -25,7 +25,7 @@ endif
|
||||||
|
|
||||||
rebuild:
|
rebuild:
|
||||||
chmod +x run.sh
|
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
|
install: as_root make_dirs soft_copy_files rebuild syncreboot
|
||||||
@echo "Install complete"
|
@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
|
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
|
where this is not available, a reduced functionality package can be built using
|
||||||
the `nocv` build tag.
|
the `withcv` build tag.
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:build !nocv
|
//go:build withcv
|
||||||
// +build !nocv
|
// +build withcv
|
||||||
|
|
||||||
/*
|
/*
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
|
|
Loading…
Reference in New Issue