cartodb/lib/assets/javascripts/cdb/grunt/README.md

20 lines
1.1 KiB
Markdown
Raw Normal View History

2020-06-15 10:58:47 +08:00
## Grunt tasks list
These are the tasks(*) we provide:
- [x] ```grunt serve``` => serve static cartodb.js landing page.
- [x] ```grunt publish``` => publish cartodb.js library in S3 (you need secret keys).
- [x] ```grunt release``` => same as publish task.
- [x] ```grunt clean``` => clean temporary and dist folders.
- [x] ```grunt invalidate``` => invalidate library files through fastly.
- [x] ```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.
- [x] ```grunt build``` => generate library and website in dist folder.
- [x] ```grunt dist``` => same as build task.
- [x] ```grunt pages``` => deploy static cartodb.js webpage to gh-pages.
- [X] ```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.