Permalink
Browse files

Merge pull request #12 from apiaryio/XVincentX/grunt-cli-location

Look for new grunt-cli location
  • Loading branch information...
2 parents 3dd6b4b + 47ad914 commit a261f60cf762b0ea4ec13533d5ba99597a03b92d @abtris abtris committed Apr 5, 2016
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/grunt.sh
View
@@ -3,6 +3,8 @@ run_grunt() {
echo "-----> Found Gruntfile, running grunt heroku task"
if [ -f $build_dir/node_modules/grunt-cli/bin/grunt ]; then
$build_dir/node_modules/grunt-cli/bin/grunt heroku
+ elif [ -f $build_dir/node_modules/grunt/node_modules/grunt-cli/bin/grunt ]; then
+ $build_dir/node_modules/grunt/node_modules/grunt-cli/bin/grunt heroku
else
$build_dir/node_modules/grunt/bin/grunt heroku
fi

0 comments on commit a261f60

Please sign in to comment.