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 $@ --with nodejs --buildsystem=nodejs
9
10 override_dh_auto_build:
11 rollup -c
12 tsc
13 test -e dist/src/y-websocket.d.ts
14 test -e dist/y-websocket.cjs
15
16 override_dh_fixperms:
17 dh_fixperms
18 chmod +x debian/node-y-websocket/usr/share/nodejs/y-websocket/bin/server.js