Created
June 29, 2014 18:07
-
-
Save rocodev-tech/c32f8e6141d8d60beb75 to your computer and use it in GitHub Desktop.
lib/tasks/dev.rake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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