Hi,
I currently run a grunt task to generate the production files (minifying css files etc.) for my nodejs app. I run this locally, then commit all the files and push the changes to Heroku. After reading the blog post about the flexibility of buildpacks (
http://blog.heroku.com/archives/2012/7/17/buildpacks/) it sounds like this is a perfect task for a custom buildpack and I won't need to do this manually anymore. Right?
I also found the new buildpacks plugin and build kits (
https://buildkits.herokuapp.com/). If I understand build kits correctly, one can run multiple buildpacks in a sequence (every buildpack that matches using bin/detect). Ok, now my question regarding the task mentioned above: do I need to create a full nodejs buildpack with grunt support or is it possible to write a very small grunt extension which is run AFTER the nodejs buildpack?
And another question regarding build kits: it looks like build kits are attached to my Heroku account instead of die individual apps. That means I can't have different buildkits for different apps (use my grunt buildpack in one but not in the other), correct?
Thanks!