File: rules

package info (click to toggle)
node-fuzzaldrin-plus 0.5.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,088 kB
  • sloc: makefile: 11; sh: 2
file content (22 lines) | stat: -rwxr-xr-x 505 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:
	coffee -c -o lib src/*.coffee
	webpack --entry ./lib/fuzzaldrin.js --output-library=fuzzaldrin \
	--mode development --output dist-browser/fuzzaldrin-plus.js
	uglifyjs.terser dist-browser/fuzzaldrin-plus.js \
	-o dist-browser/fuzzaldrin-plus.min.js --source-map

#override_dh_auto_test:

override_dh_auto_clean:
	dh_auto_clean
	rm -rf lib dist* node_modules/.cache