Skip to content

Commit

Permalink
added a task to delete the .rbo files
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@2602 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Sep 22, 2009
1 parent 3ae269b commit 6b57493
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -43,7 +43,7 @@ task :test => [:sample_test, :unit_tests]
=end

desc "Clean local and extension build files"
task :clean => ['clean:local', 'clean:ext']
task :clean => ['clean:local', 'clean:rbo', 'clean:ext']

desc "Build MacRuby and extensions"
task :all => [:macruby, :aot_compile_stdlib, :extensions]
Expand Down
8 changes: 8 additions & 0 deletions rakelib/builder.rake
Expand Up @@ -421,6 +421,14 @@ namespace :clean do
list.each { |x| rm_f(x) }
end

desc "Clean .rbo build files"
task :rbo do
list = []
list.concat(Dir['*.rbo'])
list.concat(Dir['lib/**/*.rbo'])
list.each { |x| rm_f(x) }
end

desc "Clean extension build files"
task :ext do
=begin
Expand Down

0 comments on commit 6b57493

Please sign in to comment.