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.
zhongjin 52aaa9f15d
Initial commit
4 years ago
..
tasks Initial commit 4 years ago
README.md Initial commit 4 years ago

README.md

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.