Permalink
Browse files

added a task to delete the .rbo files

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 6b5749369742a8812dd5a0be42016c524e191fa4
Showing with 9 additions and 1 deletion.
  1. +1 −1 Rakefile
  2. +8 −0 rakelib/builder.rake
View
@@ -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]
View
@@ -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

0 comments on commit 6b57493

Please sign in to comment.