Commit 13a64406 authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Improve rules

parent bd0b2f99
Source: node-nan
Section: web
Priority: extra
Section: javascript
Priority: optionnal
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders:
Jérémy Lal <kapouer@melix.org>,
......@@ -9,9 +9,10 @@ Build-Depends:
nodejs (>= 6.11.2~dfsg-1),
debhelper (>= 10.0.0),
dh-buildinfo,
node-tap (>= 0.7.1),
node-gyp,
node-bindings
dpkg-dev (>= 1.17.14),
node-tap (>= 0.7.1) <!nocheck>,
node-gyp (>= 3.0.1) <!nocheck>,
node-bindings (>=1.2.1) <!nocheck>
Standards-Version: 4.1.0
Homepage: https://github.com/nodejs/nan
Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-nan.git
......
......@@ -10,11 +10,19 @@
override_dh_auto_build:
override_dh_auto_test:
node-gyp rebuild --directory test
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
V=1 node-gyp rebuild --directory test
tap -R spec --gc test/js/*-test.js
else
@echo '**********************************************************'
@echo 'Skip test suite '
@echo '**********************************************************'
endif
override_dh_auto_clean:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
node-gyp clean
endif
dh_auto_clean
override_dh_clean:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment