Skip to content

Instantly share code, notes, and snippets.

@gunn
Created January 18, 2009 23:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunn/48810 to your computer and use it in GitHub Desktop.
Save gunn/48810 to your computer and use it in GitHub Desktop.
task :test do
["git clone git://github.com/radiant/radiant-reorder-extension.git vendor/extensions/reorder",
"rake radiant:extensions:reorder:migrate",
"rake radiant:extensions:reorder:update"].each do |command|
begin
sh( command )
rescue Exception => e
puts e
puts "FAIl!"
exit
end
end
puts "PASS!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment