Skip to content

Instantly share code, notes, and snippets.

@rocodev-tech
Created June 29, 2014 18:07
Show Gist options
  • Save rocodev-tech/c32f8e6141d8d60beb75 to your computer and use it in GitHub Desktop.
Save rocodev-tech/c32f8e6141d8d60beb75 to your computer and use it in GitHub Desktop.
lib/tasks/dev.rake
namespace :dev do
desc "Rebuild system"
task :build => ["tmp:clear", "log:clear", "db:drop", "db:create", "db:migrate", "db:seed" ]
desc "demo"
task :demo => :environment do
for i in 1..10 do
puts i
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment