It looks cool. I was just playing with Grunt earlier this month, in order to automatically watch for changes, compile and deploy my Client-side files into JCR - [0]
This is where I'd see the benefit of using Grunt. I'll try integrating with your task too, as I was only using 'curl' commands to upload and I like that you have used 'request' lib; Did you consider writing a NPM out of this task ? I think that would come handy. Cheers, Dragos [0] - http://www.flexthinker.com/2013/08/using-grunt-js-with-apache-sling/ On Tue, Aug 13, 2013 at 7:15 PM, Francesco Mari <[email protected]>wrote: > Hi all, > > I created a new task for Grunt [1] which uses the POST servlet to > rollout local content to a repository managed by a runnign Sling > instance. I also wrote some information in the README file, which can > help you have a better understanding of what it does. > > I found this task to be very handy for rapid prototyping of > Sling-based applications. To use this task you only need a minimal > Grunt build file. You can focus building the content in your > filesystem, without bothering about configuration. The task also > support the creation of arbitrary nodes by using .json files (more or > less like the jcr.contentloader bundle already does), but you don't > have to create a bundle or a Maven project. > > If anybody is interested in it, I would follow up with further > development. Please keep in mind that I pushed it only some minutes > ago and it has never been used in the wild. It's not yet deployed to > NPM. > > Regards, > > Francesco > > [1]: http://gruntjs.com/ > [2]: https://github.com/francescomari/grunt-sling >
