File: rules

package info (click to toggle)
node-es6-error 4.1.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 240 kB
  • sloc: javascript: 113; makefile: 5
file content (12 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@

override_dh_auto_build:
	BABEL_ENV=cjs babeljs src/index.js -o lib/index.js
	BABEL_ENV=es6 babeljs src/index.js -o es6/index.js