Skip to content

Commit

Permalink
adding another gruntfile name
Browse files Browse the repository at this point in the history
The gruntfile coming with the MEAN.js stack is called "gruntfile.js" so I add this filename
  • Loading branch information
Edo78 committed Feb 5, 2015
1 parent 0588ecd commit 857021a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ echo "export PATH=\"\$HOME/vendor/node/bin:\$HOME/bin:\$HOME/node_modules/.bin:\

# Check and run Grunt
(
if [ -f $build_dir/grunt.js ] || [ -f $build_dir/Gruntfile.js ] || [ -f $build_dir/Gruntfile.coffee ]; then
if [ -f $build_dir/grunt.js ] || [ -f $build_dir/Gruntfile.js ] || [ -f $build_dir/gruntfile.js ] || [ -f $build_dir/Gruntfile.coffee ]; then
# get the env vars
if [ -d "$env_dir" ]; then
status "Exporting config vars to environment"
Expand All @@ -165,7 +165,7 @@ echo "export PATH=\"\$HOME/vendor/node/bin:\$HOME/bin:\$HOME/node_modules/.bin:\
npm prune --production 2>&1 | indent

else
echo "-----> No Gruntfile (grunt.js, Gruntfile.js, Gruntfile.coffee) found"
echo "-----> No Gruntfile (grunt.js, Gruntfile.js, gruntfile.js, Gruntfile.coffee) found"
fi
)

Expand Down

0 comments on commit 857021a

Please sign in to comment.