File: rules

package info (click to toggle)
node-vue-resource 1.3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 424 kB
  • sloc: makefile: 8; sh: 2
file content (22 lines) | stat: -rwxr-xr-x 651 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:
#commonjs
	webpack --config debian/webpack.config.js src/index.js dist/vue-resource.common.js --target=web --output-library=VueResource --output-library-target=commonjs --module-bind 'js=babel-loader'
#umd
	webpack --config debian/webpack.config.js src/index.js dist/vue-resource.js --target=web --output-library=VueResource --output-library-target=umd --module-bind 'js=babel-loader'
	uglifyjs dist/vue-resource.js -o dist/vue-resource.min.js

#override_dh_auto_test:


override_dh_auto_clean:
	rm -rf lib dist