File: rules

package info (click to toggle)
node-turbolinks 5.1.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 384 kB
  • sloc: ruby: 12; makefile: 9; sh: 4
file content (22 lines) | stat: -rwxr-xr-x 456 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 src/turbolinks/*.coffee
	webpack --output-library=Turbolinks --config debian/webpack.config.js src/turbolinks/index.js dist/turbolinks.browser.js
	uglifyjs dist/turbolinks.browser.js -o dist/turbolinks.js

override_dh_auto_clean:
	dh_auto_clean
	rm -rf src/turbolinks/*.js dist/

#override_dh_auto_test: