File: rules

package info (click to toggle)
node-es6-error 4.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 208 kB
  • sloc: makefile: 7
file content (17 lines) | stat: -rwxr-xr-x 286 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 $@ --with nodejs

override_dh_auto_build:
	BABEL_ENV=cjs babeljs src -d lib
	BABEL_ENV=es6 babeljs src -d es6

#override_dh_auto_test:

override_dh_auto_clean:
	rm -rf lib es6