laf f2b3dabcaa Add 'lib/Leaflet.markercluster/' from commit 'e96388d6cb2be12f113a20a9b40812f42f96d805'
git-subtree-dir: lib/Leaflet.markercluster
git-subtree-mainline: 1218d227bedc0344f0335e42845d2fa6dfdaa6eb
git-subtree-split: e96388d6cb2be12f113a20a9b40812f42f96d805
2015-07-20 15:11:37 +01:00

26 lines
713 B
JavaScript

/*
Leaflet.markercluster building, testing and linting scripts.
To use, install Node, then run the following commands in the project root:
npm install -g jake
npm install
To check the code for errors and build Leaflet from source, run "jake".
To run the tests, run "jake test".
For a custom build, open build/build.html in the browser and follow the instructions.
*/
var build = require('./build/build.js');
desc('Check Leaflet.markercluster source for errors with JSHint');
task('lint', build.lint);
desc('Combine and compress Leaflet.markercluster source files');
task('build', ['lint'], build.build);
desc('Run PhantomJS tests');
task('test', ['lint'], build.test);
task('default', ['build']);