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"`
|