File: rules

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

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

%:
	dh $@

override_dh_auto_build:
	rollup --banner "$$(preamble)" -f umd -n d3 -o build/d3-dispatch.js index.js
	uglifyjs --preamble "$$(preamble)" build/d3-dispatch.js -c -m -o build/d3-dispatch.min.js

override_dh_auto_test:
	tape 'test/**/*-test.js'

override_dh_auto_clean:
	dh_auto_clean
	rm -rf build