File: rules

package info (click to toggle)
node-json5 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 736 kB
  • sloc: makefile: 12; sh: 2
file content (22 lines) | stat: -rwxr-xr-x 418 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	node ./lib/cli.js -c package.json5
	ln -s ../debian/json5-tests test/parse-cases

override_dh_auto_test:
	mocha --ui exports -R spec

override_dh_auto_clean:
	rm -rf test/parse-cases

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/node-json5/usr/lib/nodejs/json5/lib/cli.js