forked from Leaflet/Leaflet.markercluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jakefile.js
26 lines (17 loc) · 713 Bytes
/
Jakefile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
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']);