File: rules

package info (click to toggle)
filesaver.js 2.0.4%2Bdfsg%2B~2.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 224 kB
  • sloc: javascript: 122; makefile: 6
file content (9 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	mkdir -p dist
	babeljs-7 -o dist/FileSaver.js --presets @babel/env --plugins @babel/plugin-transform-modules-umd src/FileSaver.js
	cd dist; yui-compressor -o FileSaver.min.js FileSaver.js