File: rules

package info (click to toggle)
node-d3-hierarchy 1.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 860 kB
  • sloc: makefile: 13; sh: 2
file content (23 lines) | stat: -rwxr-xr-x 426 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	webpack --config debian/webpack.config.js \
	--output-library=d3 \
	index.js build/d3-hierarchy.js

# test/pack requires benchmark module
override_dh_auto_test:
	tape 'test/hierarchy/*.js'
	tape 'test/treemap/*.js'
	tape 'test/*.js'

override_dh_auto_clean:
	rm -rf build
	dh_auto_clean