Skip to content

Commit

Permalink
add clear task
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Mar 8, 2009
1 parent 84f4e4a commit 5e61e27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Rakefile
Expand Up @@ -78,6 +78,11 @@ namespace :seinfeld do
end
end

task :clear => :init do
raise "Need USER=" if ENV['USER'].to_s.size.zero?
Seinfeld::User.first(:login => ENV['USER']).clear_progress
end

task :reset => :init do
raise "Need USER=" if ENV['USER'].to_s.size.zero?
Seinfeld::User.first(:login => ENV['USER']).reset_progress
Expand Down

0 comments on commit 5e61e27

Please sign in to comment.