From 06b81176cb7c5fc0b91402c23f1914b448c0d366 Mon Sep 17 00:00:00 2001 From: Bartvds Date: Wed, 15 May 2013 23:33:11 +0200 Subject: [PATCH] edited README.md --- README.md | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1130fe6..292ad8a 100644 --- a/README.md +++ b/README.md @@ -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/).