You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Leaflet/Jakefile.js

24 lines
583 B

/*
Leaflet 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"
For a custom build, open build/build.html in the browser and follow the instructions.
*/
var build = require('./build/build.js');
desc('Check Leaflet source for errors with JSHint');
task('lint', build.lint);
desc('Combine and compress Leaflet source files');
task('build', ['lint'], build.build);
task('default', ['build']);