mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
Skip the tests if the nocheck Debian build option is specified
This commit is contained in:
parent
bec30e910f
commit
e87808683a
2
debian/rules
vendored
2
debian/rules
vendored
@ -45,7 +45,9 @@ override_dh_auto_build:
|
||||
(cd ${SRCDIR} && go install -buildmode=pie ./...)
|
||||
|
||||
override_dh_auto_test:
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
(cd ${SRCDIR} && go test -v ./...)
|
||||
endif
|
||||
|
||||
override_dh_auto_install:
|
||||
cp ${GOBIN}/yq ${DESTDIR}/${BINDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user