File: rules

package info (click to toggle)
node-lunr 2.3.5~dfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 584 kB
  • sloc: makefile: 84; sh: 67
file content (17 lines) | stat: -rwxr-xr-x 283 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

override_dh_auto_build:
	make lunr.js
	uglifyjs --compress --mangle --comments \
		--source-map lunr.min.map \
		-o lunr.min.js \
		lunr.js

override_dh_auto_test:
	MOCHA=mocha make test

override_dh_auto_clean:
	rm -f lunr.js lunr.min.js lunr.min.map

%:
	dh $@