Skip to content

Commit

Permalink
Update package and task readme
Browse files Browse the repository at this point in the history
  • Loading branch information
powmedia committed Jul 16, 2013
1 parent 8a7a1be commit 5f31335
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,20 @@ the specified tasks, taking into account their dependencies

For example create a script named `buildify.js` with the following contents:
```js
var buildify = require('../index');
var buildify = require('buildify');

buildify.task({
name: 'minify',
depends: ['concat'],
name: 'task2',
depends: ['task1'],
task: function () {
console.log('minify...');
console.log('task2...');
}
});

buildify.task({
name: 'concat',
name: 'task1',
task: function () {
console.log('concat...');
console.log('task1...');
}
});
```
Expand Down
Empty file modified bin/cli.js
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Charles Davison <charlie@powmedia.co.uk>",
"name": "buildify",
"description": "Builder for creating distributable JavaScript files from source. Concatenate, wrap, uglify.",
"version": "0.3.1",
"version": "0.4.0",
"repository": {
"type": "git",
"url": "git://github.com/powmedia/buildify.git"
Expand Down

0 comments on commit 5f31335

Please sign in to comment.