Skip to content

Commit

Permalink
edited README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartvds committed May 15, 2013
1 parent b1b433b commit 06b8117
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,28 @@ In your project's Gruntfile, add a section named `execute` to the data object pa
```js
grunt.initConfig({
execute: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
target: {
src: ['script.js']
}
}
})
```

### Options

Later
```js
grunt.initConfig({
execute: {
options: {
stdio: 'inherit', //override node spawn's stdio option
cwd: null //overide code cwd (default null uses scripts's own directory)
},
many_targets: {
src: ['apps/**/*.js', 'lib/**/index.js'] //supports globs
}
}
})
```

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).
Expand Down

0 comments on commit 06b8117

Please sign in to comment.