File: rules

package info (click to toggle)
pegjs 0.10.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,164 kB
  • sloc: sh: 84; makefile: 71
file content (9 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

%:
	dh $@ --with nodejs

override_dh_auto_build:
	mkdir browser
	browserify-lite ./lib/peg.js --outfile browser/parser.js
	uglifyjs browser/parser.js > browser/parser.min.js