File: rules

package info (click to toggle)
ts-node 10.9.2%2B~cs64.13.20-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,388 kB
  • sloc: javascript: 15,071; sh: 83; makefile: 15; xml: 9
file content (19 lines) | stat: -rwxr-xr-x 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	dh_auto_build --buildsystem=nodejs
	tsc -b ./tsconfig.build-dist.json
	chmod +x dist/bin*.js
	./debian/tests/test_modules/typescript-json-schema/bin/typescript-json-schema \
		--topRef --refs --validationKeywords allOf \
		--out tsconfig.schema.json tsconfig.json TsConfigSchema
	node --require ./register ./scripts/create-merged-schema
	chmod +x dist/bin.js

override_dh_fixperms:
	dh_fixperms
	chmod +x `find debian -name "bin*.js"`
	chmod -x `find debian -name "*.d.ts"`