heroku-buildpack-grunt

by ejholmes

GitHub Readme.md

Heroku Buildpack Grunt

A simple buildpack, designed to run with the multi buildpack, which will run install grunt and run grunt heroku.

Usage

  1. Set your buildpack to the multi buildpack:

    $ heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
  2. Configure your .buildpacks file:

    https://github.com/heroku/heroku-buildpack-nodejs
    https://github.com/ejholmes/heroku-buildpack-grunt
    
  3. Ensure that npm installs grunt:

    {
     "dependencies": {
       "grunt": "latest",
       "grunt-cli": "latest"
     }
    }
  4. Ensure that you have a heroku grunt task:

    grunt.registerTask('heroku', ['build']);