Skip to content

Commit

Permalink
Merge pull request #1500 from gruntjs/fixbin
Browse files Browse the repository at this point in the history
Use local bin that points to grunt-cli
  • Loading branch information
vladikoff committed Apr 5, 2016
2 parents 26c6c3c + 6b60a41 commit d097191
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions bin/grunt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('grunt-cli/bin/grunt');
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"main": "lib/grunt",
"bin": {
"grunt": "node_modules/grunt-cli/bin/grunt"
"grunt": "bin/grunt"
},
"keywords": [
"task",
Expand Down Expand Up @@ -43,7 +43,7 @@
"exit": "~0.1.1",
"findup-sync": "~0.3.0",
"glob": "~7.0.0",
"grunt-cli": "1.2.0",
"grunt-cli": "~1.2.0",
"grunt-known-options": "~1.1.0",
"grunt-legacy-log": "~1.0.0",
"grunt-legacy-util": "~1.0.0",
Expand All @@ -66,6 +66,7 @@
"through2": "~2.0.0"
},
"files": [
"lib"
"lib",
"bin"
]
}

0 comments on commit d097191

Please sign in to comment.