File: rules

package info (click to toggle)
node-preact 8.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 476 kB
  • sloc: makefile: 7; sh: 2
file content (20 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
18
19
20
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_build:
	babeljs src -d lib
# TODO: investigate webpack segfault
#	webpack --config debian/webpack.config.js src/preact.js dist/preact.js --target=web --output-library=preact --output-library-target=umd --module-bind 'js=babel-loader'

#override_dh_auto_test:
#	tape 'test/**/*.js'

override_dh_auto_clean:
	rm -rf lib dist
	dh_auto_clean