Browse files

Update fabric examples to reflect changes.

  • Loading branch information...
1 parent 903ab0a commit 9c7d0895dca2909143d633a1e335a811f43481b2 @conorbranagan conorbranagan committed Aug 21, 2013
Showing with 14 additions and 3 deletions.
  1. +14 −3 examples/
@@ -7,16 +7,27 @@
setup(api_key = "YOUR API KEY HERE")
-# Make sure @notify is just above @task
+# Make sure @notify is just below @task
@task(default=True, alias="success")
def sweet_task(some_arg, other_arg):
"""Always succeeds"""
print(green("My sweet task always runs properly."))
def boring_task(some_arg):
"""Always fails"""
print(red("My boring task is designed to fail."))
raise Exception("failure!!!")
+ 'webserver': ['localhost']
+def roles_task(arg_1, arg_2):
+ run('touch /tmp/fab_test')

0 comments on commit 9c7d089

Please sign in to comment.