Skip to content

Commit

Permalink
Fixing grunt build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Bezzubov committed Jun 26, 2015
1 parent 79cdaa4 commit 128fad2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion grunt
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
"node/node" "./node_modules/.bin/grunt" "$@"
node="node/node"

if hash "node" 2>/dev/null ; then
node="node"
fi
"$node" "./node_modules/.bin/grunt" "$@"

3 changes: 2 additions & 1 deletion package.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"devDependencies": {
"grunt": "^0.4.5",
"grunt-autoprefixer": "^3.0.0",
"grunt-cli": "^0.1.13",
"grunt-concurrent": "^1.0.0",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-concat": "^0.5.0",
Expand Down Expand Up @@ -37,4 +38,4 @@
"scripts": {
"test": "grunt test"
}
}
}

0 comments on commit 128fad2

Please sign in to comment.