Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README: added namespaces

  • Loading branch information...
commit 2aed0c1abd5ec3107a844d049d8448e6edbea231 1 parent 24e58d6
@bakkdoor bakkdoor authored
Showing with 26 additions and 0 deletions.
  1. +26 −0 README.md
View
26 README.md
@@ -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:
Please sign in to comment.
Something went wrong with that request. Please try again.