Author: boisvert
Date: Wed Sep 16 17:27:19 2009
New Revision: 815900

URL: http://svn.apache.org/viewvc?rev=815900&view=rev
Log:
BUILDR-312: Add hook for plugins to customize sandbox initialization

Modified:
    buildr/trunk/spec/spec_helpers.rb

Modified: buildr/trunk/spec/spec_helpers.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/spec/spec_helpers.rb?rev=815900&r1=815899&r2=815900&view=diff
==============================================================================
--- buildr/trunk/spec/spec_helpers.rb (original)
+++ buildr/trunk/spec/spec_helpers.rb Wed Sep 16 17:27:19 2009
@@ -38,6 +38,9 @@
   end
   require 'buildr'
 
+  # Give a chance for plugins to do a few things before requiring the sandbox.
+  include SandboxHook if defined?(SandboxHook)
+  
   require File.expand_path('sandbox', File.dirname(__FILE__))
 
   module SpecHelpers


Reply via email to