Skip to content

Instantly share code, notes, and snippets.

@isaksky
Created January 29, 2013 17:54
Show Gist options
  • Save isaksky/4666169 to your computer and use it in GitHub Desktop.
Save isaksky/4666169 to your computer and use it in GitHub Desktop.
lolrubby
task :foo do
puts "foo"
end
task :bar => "foo" do
puts "bar"
end
task :baz do
puts "baz"
Rake::Task['foo'].invoke
Rake::Task['bar'].invoke
end
# in console:
rake baz
# output
baz
foo
bar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment