cartodb-4.42/lib/assets/javascripts/cdb/grunt/README.md
2024-04-06 05:25:13 +00:00

1.1 KiB

Grunt tasks list

These are the tasks(*) we provide:

  • grunt serve => serve static cartodb.js landing page.
  • grunt publish => publish cartodb.js library in S3 (you need secret keys).
  • grunt release => same as publish task.
  • grunt clean => clean temporary and dist folders.
  • grunt invalidate => invalidate library files through fastly.
  • grunt test => run library test suite (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 and website in dist folder.
  • grunt dist => same as build task.
  • grunt pages => deploy static cartodb.js webpage to gh-pages.
  • grunt js => create uncompressed javascript files in dist (useful for developing)
  • grunt watch => special watch for cartodb.js library (in progress).

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