I found a better solution that integrates nicely with gulp, in case someone else needs it:
Use gulp-shell (https://www.npmjs.org/package/gulp-shell) to run the couchapp build command from gulp, like this: gulp.task('build_couchapp', shell.task(['couchapp push http://user:[email protected]:5984/mydb'])); 2014-06-10 16:29 GMT+02:00 Alexander Gabriel <[email protected]>: > Thanks! > > Meantime I've configured gulp to run some tasks parallel to the python > couchapp tool. Gulp is so easy, even I grasped it (just like couchdb). > > This seems to work fine so far. But I will change to a gulp plugin when > one gets available. > > Alex > Am 10.06.2014 11:57 schrieb "Johannes Jörg Schmidt" <[email protected] > >: > > Hi Alex, >> >> I wrote grunt-couch [1] and we use it for all our projects. The base >> has been extracted as a standalone module which is meant to be >> integrated in other build tools, eg Gulp. >> >> Johannes >> >> [1]: https://github.com/jo/grunt-couch >> [2]: https://github.com/jo/couch-compile >> >> 2014-06-09 22:54 GMT+02:00 Alexander Gabriel <[email protected]>: >> > Hy coucher's >> > >> > Warning: Cross-posted because the couchapp-list seems dead. >> > >> > I've been using the python couchapp tool now for quite a while and am >> happy >> > with it. >> > >> > But I see all these nice examples of how to automate building with gulp >> and >> > grunt. With all the goodies like concatenating, live previews etc. And >> I'm >> > using gulp successfully in a non-couchapp-project. Love the piping. >> > >> > Being a relative noob I haven't done any automated testing yet. I want >> to >> > start now. I haven't decided on a favorite tool yet - probably any one >> > would do as long as I can integrate it with building a couchapp. >> > >> > All examples and tutorials I've seen show how to build and test when >> using >> > grunt or gulp. >> > >> > Here come the questions: >> > >> > - What would I have to do differently when using a couchapp? >> > - Is there a grunt or gulp tool that can replace the python couchapp >> > tool? How would one migrate an existing couchapp? >> > - Do you know of any example or tutorial? >> > >> > Thanks a lot for pointers! >> > >> > By the way: I work on Windows 8 which I believe excludes some other >> > couchapp-tools that may have some of the mentioned capabilities. >> > >> > Alex >> >
