File: rules

package info (click to toggle)
node-rdf-canonize 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 332 kB
  • sloc: makefile: 15; sh: 4
file content (21 lines) | stat: -rwxr-xr-x 521 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
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	BROWSERSLIST='node 6' babeljs \
		--no-babelrc --presets=env \
		--out-dir dist/node6/lib \
		-- lib
	webpack --progress
	mkdir -p debian/js
	cp -f -t debian/js \
		-- dist/*.*
	find debian/js \( -name '*.min.js' -or -name '*.css' \) \
		-exec pigz --force --keep -11 -- {} + \
		-exec brotli --force --keep --best -- {} +

# TODO: Enable testsuite when normalization spec is in Debian
override_dh_auto_test:
#	mocha -R spec --check-leaks test/ conformance-test.js