File: rules

package info (click to toggle)
node-js-sdsl 4.1.4-2%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 872 kB
  • sloc: javascript: 631; sh: 8; makefile: 6
file content (14 lines) | stat: -rwxr-xr-x 395 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

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

TTSC=debian/build_modules/ttypescript/bin/tsc

%:
	dh $@

override_dh_auto_build:
	$(TTSC) src/index.ts --downlevelIteration --declaration --module commonjs --target es5 --outDir dist/cjs
	$(TTSC) src/index.ts --downlevelIteration --declaration --module es2015 --target es5 --outDir dist/esm