File: rules

package info (click to toggle)
node-ast-types 0.14.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,224 kB
  • sloc: javascript: 7,510; sh: 22; makefile: 11
file content (14 lines) | stat: -rwxr-xr-x 328 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	mkdir -p node_modules/@types
	for toto in @babel esprima minimatch tslib; do \
		cp -R /usr/share/nodejs/$$toto node_modules/ ; \
	done
	for toto in esprima estree glob minimatch mocha node; do \
		cp -R /usr/share/nodejs/@types/$$toto node_modules/@types/ ; \
	done
	tsc