File: rules

package info (click to toggle)
node-url-parse 1.5.3-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 376 kB
  • sloc: javascript: 1,399; makefile: 9
file content (17 lines) | stat: -rwxr-xr-x 469 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
# -*- 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=URLParse \
	--entry index.js --output dist/url-parse.js --mode development
	webpack --config debian/webpack.config.js --output-library=URLParse \
	--entry index.js --output dist/url-parse.min.js --mode production

override_dh_auto_clean:
	rm -rf dist node_modules/.cache