[macruby-changes] [4663] DietRB/trunk
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 8 03:56:02 PDT 2010
Revision: 4663
http://trac.macosforge.org/projects/ruby/changeset/4663
Author: eloy.de.enige at gmail.com
Date: 2010-10-08 03:56:00 -0700 (Fri, 08 Oct 2010)
Log Message:
-----------
Load ~/.irbrc if it exists from ./bin/irb
From: Eloy Duran <eloy.de.enige at gmail.com>
Modified Paths:
--------------
DietRB/trunk/Rakefile
DietRB/trunk/bin/dietrb
Modified: DietRB/trunk/Rakefile
===================================================================
--- DietRB/trunk/Rakefile 2010-10-08 10:55:52 UTC (rev 4662)
+++ DietRB/trunk/Rakefile 2010-10-08 10:56:00 UTC (rev 4663)
@@ -2,7 +2,8 @@
desc "Run the specs"
task :spec do
- sh "macbacon #{FileList['spec/**/*_spec.rb'].join(' ')}"
+ # sh "macbacon #{FileList['spec/**/*_spec.rb'].join(' ')}"
+ sh "bacon19 #{FileList['spec/**/*_spec.rb'].join(' ')}"
end
desc "Run specs with Kicker"
Modified: DietRB/trunk/bin/dietrb
===================================================================
--- DietRB/trunk/bin/dietrb 2010-10-08 10:55:52 UTC (rev 4662)
+++ DietRB/trunk/bin/dietrb 2010-10-08 10:56:00 UTC (rev 4663)
@@ -20,6 +20,9 @@
end.parse!(ARGV)
end
+irbrc = File.expand_path("~/.irbrc")
+load(irbrc) if File.exist?(irbrc)
+
IRB.formatter.filter_from_backtrace << /^#{__FILE__}/
if ARGV.empty?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20101008/efa575cb/attachment.html>
More information about the macruby-changes
mailing list