File: rules

package info (click to toggle)
node-ts-jest 29.0.3%2B~cs0.2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,028 kB
  • sloc: javascript: 2,753; makefile: 16
file content (25 lines) | stat: -rwxr-xr-x 605 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
23
24
25
#!/usr/bin/make -f
# -*- makefile -*-

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

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=nodejs
	tsc -p tsconfig.build.json
	node scripts/post-build.js
	chmod +x cli.js
	help2man --no-info \
		--version-string=$(DEB_VERSION_UPSTREAM) \
		-n 'TypeScript preprocessor with source map support for Jest' \
		./cli.js > debian/ts-jest.1

override_dh_fixperms:
	dh_fixperms
	chmod +x debian/ts-jest/usr/share/nodejs/ts-jest/cli.js
	chmod -x debian/ts-jest/usr/share/nodejs/bs-logger/package.json