File: rules

package info (click to toggle)
node-schema-utils 3.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,200 kB
  • sloc: javascript: 5,069; makefile: 9
file content (16 lines) | stat: -rwxr-xr-x 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
# -*- makefile -*-

export NODE_ENV=production

%:
	dh $@

override_dh_auto_build:
	node `nodepath ajv`/scripts/compile-dots.js `nodepath ajv`/lib ajv-errors/lib
	babeljs-7 src -d dist --copy-files

override_dh_install:
	dh_install
	# Workaround for #933841
	cp ajv-errors/index.js debian/node-schema-utils/usr/share/nodejs/schema-utils/node_modules/ajv-errors