File: rules

package info (click to toggle)
node-jsonstream 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 600 kB
  • sloc: makefile: 16; sh: 14
file content (29 lines) | stat: -rwxr-xr-x 730 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/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