Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 %:
8 dh $@
9
10 override_dh_auto_build:
11 #tsc -p projects/core
12 #tsc -p projects/patch
13 #node scripts/postbuild.js
14 pkgjs-run compile:core
15 pkgjs-run compile:patch
16 pkgjs-run postbuild
17 mv dist/src/* dist/shared/* dist
18 rmdir dist/src dist/shared
19 echo dist >debian/nodejs/main
20 sed -i '1i#!/usr/bin/node' dist/bin/ts-patch.js
21 sed -i '1i#!/usr/bin/node' dist/bin/tspc.js
22
23 execute_after_dh_installdocs:
24 dh_nodejs_autodocs
25
26 execute_after_dh_fixperms:
27 chmod +x debian/ts-patch/usr/share/nodejs/ts-patch/bin/ts-patch.js
28 chmod +x debian/ts-patch/usr/share/nodejs/ts-patch/bin/tspc.js