Y-SLD/assets/plugins/leaflet/print-master/Jakefile.js

22 lines
513 B
JavaScript
Raw Normal View History

2024-03-01 11:23:55 +00:00
/*
Leaflet.print building and linting scripts.
To use, install Node, then run the following commands in the project root:
npm install -g jake
npm install uglify-js
npm install jshint
To check the code and build Leaflet from source, run "jake"
*/
var build = require('./build/build.js');
desc('Check Leaflet.Draw source for errors with JSHint');
task('lint', build.lint);
desc('Combine and compress Leaflet.Print source files');
task('build', ['lint'], build.build);
task('default', ['build']);