Skip to content

Instantly share code, notes, and snippets.

@dcramer
Created April 5, 2013 19:04
Show Gist options
  • Select an option

  • Save dcramer/5321766 to your computer and use it in GitHub Desktop.

Select an option

Save dcramer/5321766 to your computer and use it in GitHub Desktop.
@task
def test():
execute(test_parallel)
execute(test_serial)
@parallel()
@task
def test_parallel():
puts("parallel")
@serial
@task
def test_serial():
puts("serial")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment