Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merged pull request #1, now also works with Grundfile.js and Gruntfil…

…e.coffee
  • Loading branch information...
commit d9f66a81b793f9c62910b5d2b17ef50895125abb 1 parent ae6d524
@mbuchetics authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/compile
View
4 bin/compile
@@ -177,8 +177,8 @@ echo "-----> Building runtime environment"
mkdir -p $BUILD_DIR/.profile.d
echo "export PATH=\"\$HOME/bin:\$HOME/node_modules/.bin:\$PATH\"" > $BUILD_DIR/.profile.d/nodejs.sh
-if [ -f $BUILD_DIR/grunt.js ]; then
- echo "-----> Found gruntfile (grunt.js), running grunt heroku task"
+if [ -f $BUILD_DIR/grunt.js ] || [ -f $BUILD_DIR/Gruntfile.js ] || [ -f $BUILD_DIR/Gruntfile.coffee ]; then
+ echo "-----> Found gruntfile, running grunt heroku task"
$BUILD_DIR/node_modules/grunt/bin/grunt heroku
else
echo "-----> No gruntfile (grunt.js) found"
Please sign in to comment.
Something went wrong with that request. Please try again.