File: rules

package info (click to toggle)
node-yargs-parser 11.1.1-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 324 kB
  • sloc: sh: 12; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 321 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	mocha test/*.js
	if node debian/tests/CVE-2020-7608.js|egrep ^baz; then \
		echo "Vulnerable to CVE-2020-7608"; \
		exit 1; \
	fi
endif