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 | index.cjs: index.js |
| 11 | rollup -c debian/rollup.config.mjs |
| 12 | |
| 13 | index.mjs: index.js |
| 14 | cp $< $@ |
| 15 | |
| 16 | override_dh_auto_build: index.cjs index.mjs |
| 17 | |
| 18 | |
| 19 | override_dh_auto_test: |
| 20 | dh_auto_test --buildsystem=nodejs |