A simple buildpack, designed to run with the multi buildpack,
which will run install grunt and run grunt heroku
.
-
Set your buildpack to the multi buildpack:
$ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
-
Configure your
.buildpacks
file:https://github.com/heroku/heroku-buildpack-nodejs https://github.com/ejholmes/heroku-buildpack-grunt
-
Ensure that npm installs grunt:
{ "dependencies": { "grunt": "latest", "grunt-cli": "latest" } }
-
Ensure that you have a
heroku
grunt task:grunt.registerTask('heroku', ['build']);