A Grunt task for uploading/compiling
A Grunt task would be awesome to integrating into a javascript workflow.
Ideally tasks would include:
- compile to single document
- upload document
This came from a discussion on couchdb-user@ list
I'm not sure if the grunt task would be part of this repo, or should exist as a grunt-couchapp-erica repo, but I wanted to create this ticket for tracking to see if there was other interest. I might find the time to work on something like this in a few months, but maybe someone else has started working on it already?
you might want to look at:
- https://github.com/jo/grunt-couch
- http://kan.so which is better than a grunt task, imho
I don't see how kanso is better than or .... A grun task could be a good add-on for erica so people can handle erica in their project withh the benefit of multi language.
I've looked into those as well. I believe the one thing those are missing are macros (!code) for being able to include common code and functions in your design documents (especially the reducer). Do you know if those actually have that feature and I just missed it in the documentation?
I feel a Grunt task is an improvement over kanso commands because it allows you to integration with a standard workflow. I want to write design documents using coffeescript and have grunt-watch automatically compile the coffeescript, then compile the couchapp doc (include the macro'd code), then run tests against it, and finally upload it, all automatically.
I don't see kanso having this support. Grunt is already setup to do all of this (using grunt-couch, or grunt-couchapp) except for the macro portion, which is supported by erica.