Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 24d627ed0c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (11 sloc) 0.428 kb
#!/usr/bin/env node
// Nodejs lib.
var path = require('path');
// Badass internal grunt lib.
var findup = require('../lib/util/findup');
// Where might a locally-installed grunt live?
var dir = path.resolve(findup(process.cwd(), 'grunt.js'), '../node_modules/grunt');
// If grunt is installed locally, use it. Otherwise use this grunt.
if (!path.existsSync(dir)) { dir = '../lib/grunt'; }
// Run grunt.
Jump to Line
Something went wrong with that request. Please try again.