Skip to content

Commit

Permalink
Add clean:release rake command
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedap committed Nov 7, 2014
1 parent e58fc5c commit d1739fb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Rakefile
Expand Up @@ -53,6 +53,13 @@ task :clean do
rmtree File.join($config['path'], 'coverage')
end

desc 'Clean up for release'
task 'clean:release' do
ruby_version_path = File.expand_path('./.ruby-version')
rm ruby_version_path if File.exist? ruby_version_path
rmtree File.join($config['path'], 'coverage')
end

desc 'Run rspec'
task :spec => [:chdir] do
sh %Q{bundle exec rake spec} do |ok, res|
Expand Down

0 comments on commit d1739fb

Please sign in to comment.