Skip to content

Commit

Permalink
Changed grunt init tasks to use local paths. Fixes TryGhost#3206
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmartinduffy committed Aug 8, 2014
1 parent bf3078c commit 80e63d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ var path = require('path'),
// Used as part of `grunt init`. See the section on [Building Assets](#building%20assets) for more
// information.
bower: {
command: path.resolve(cwd + '/node_modules/.bin/bower --allow-root install'),
command: './node_modules/.bin/bower --allow-root install',
options: {
stdout: true
}
Expand All @@ -233,16 +233,16 @@ var path = require('path'),
// Used as part of `grunt init`. See the section on [Building Assets](#building%20assets) for more
// information.
ghost_ui: {
command: path.resolve(cwd + '/node_modules/.bin/bower update ghost-ui'),
command: './node_modules/.bin/bower update ghost-ui',
options: {
stdout: true
}
},
// #### Generate coverage report
// See the `grunt test-coverage` task in the section on [Testing](#testing) for more information.
coverage: {
command: path.resolve(cwd + '/node_modules/mocha/bin/mocha --timeout 15000 --reporter' +
' html-cov > coverage.html ./core/test/blanket_coverage.js'),
command: './node_modules/mocha/bin/mocha --timeout 15000 --reporter' +
' html-cov > coverage.html ./core/test/blanket_coverage.js',
execOptions: {
env: 'NODE_ENV=' + process.env.NODE_ENV
}
Expand Down

0 comments on commit 80e63d9

Please sign in to comment.