[macruby-changes] [2602] MacRuby/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Mon Sep 21 22:54:35 PDT 2009
Revision: 2602
http://trac.macosforge.org/projects/ruby/changeset/2602
Author: lsansonetti at apple.com
Date: 2009-09-21 22:54:34 -0700 (Mon, 21 Sep 2009)
Log Message:
-----------
added a task to delete the .rbo files
Modified Paths:
--------------
MacRuby/trunk/Rakefile
MacRuby/trunk/rakelib/builder.rake
Modified: MacRuby/trunk/Rakefile
===================================================================
--- MacRuby/trunk/Rakefile 2009-09-22 05:14:51 UTC (rev 2601)
+++ MacRuby/trunk/Rakefile 2009-09-22 05:54:34 UTC (rev 2602)
@@ -43,7 +43,7 @@
=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]
Modified: MacRuby/trunk/rakelib/builder.rake
===================================================================
--- MacRuby/trunk/rakelib/builder.rake 2009-09-22 05:14:51 UTC (rev 2601)
+++ MacRuby/trunk/rakelib/builder.rake 2009-09-22 05:54:34 UTC (rev 2602)
@@ -421,6 +421,14 @@
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090921/d43a8023/attachment.html>
More information about the macruby-changes
mailing list