#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # further test need it-is not packaged for strech TEST_FILE=test/browser.js test/map.js test/null.js %: dh $@ #override_dh_auto_build: override_dh_auto_test: ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) set -e; for TEST in $(TEST_FILE); do \ tap -R spec $$TEST;\ done else @echo '**********************************************************' @echo 'Skip test suite ' @echo '**********************************************************' endif #index.js is also an executable override_dh_fixperms: dh_fixperms chmod +x debian/node-jsonstream/usr/lib/nodejs/JSONStream/bin.js