cartodb/carto.js/grunt
2020-06-15 10:58:47 +08:00
..
tasks Initial commit 2020-06-15 10:58:47 +08:00
README.md Initial commit 2020-06-15 10:58:47 +08:00

Grunt tasks list

These are the tasks(*) we provide:

  • grunt publish_s3 => publish CARTO.js library in S3 (you need secret keys).
  • grunt clean => clean temporary and dist folders.
  • grunt invalidate => invalidate library files through fastly.
  • grunt test => run library test suite in the console (it will generate a SpecRunner.html file in test folder).
    • grunt test -d => if you need to print failing tests.
    • grunt test -f => if you need to know where was the problem.
  • grunt build => generate library in dist folder.
  • grunt build:js => create uncompressed javascript files in dist (useful for developing)
  • grunt build:css => create uncompressed stylesheets files in dist (useful for developing)

Dev tasks are as useful while in development, watches files and updates the bundles accordingly:

  • grunt dev:js => only JS
  • grunt dev:css => only CSS
  • grunt dev => both JS and CSS

*Remember to install all the things you need, check main README.md, how to build section.