cartodb/lib/assets/javascripts/cdb/grunt
zhongjin a96ef233c9 cdb
2020-06-15 12:07:54 +08:00
..
tasks cdb 2020-06-15 12:07:54 +08:00
templates cdb 2020-06-15 12:07:54 +08:00
README.md cdb 2020-06-15 12:07:54 +08:00

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.