mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-14 07:08:06 +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 ./...)
|
(cd ${SRCDIR} && go install -buildmode=pie ./...)
|
||||||
|
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
|
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||||
(cd ${SRCDIR} && go test -v ./...)
|
(cd ${SRCDIR} && go test -v ./...)
|
||||||
|
endif
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
cp ${GOBIN}/yq ${DESTDIR}/${BINDIR}
|
cp ${GOBIN}/yq ${DESTDIR}/${BINDIR}
|
||||||
|
Loading…
Reference in New Issue
Block a user