.. | ||
tasks | ||
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 JSgrunt dev:css
=> only CSSgrunt dev
=> both JS and CSS
*Remember to install all the things you need, check main README.md, how to build section.