Skip to content

Commit

Permalink
updated README: added namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Apr 27, 2012
1 parent 24e58d6 commit 2aed0c1
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,32 @@ To see a list of general options use the help command:
$ fake --help
```

## Namespaces

You can place tasks in namespaces by placing them inside a named block
that doesn't contain its own `run` option:

```fancy
Fake tasks: {
namespace_a: {
task_a: {
run: {
# ...
}
}
}
namespace_b: {
task_b: {
depends: 'namespace_a:task_a
run: {
# ...
}
}
}
}
```

## Specifying dependencies

You can specify dependencies via the `depends` option, like so:
Expand Down

0 comments on commit 2aed0c1

Please sign in to comment.