buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [7/8] git commit: Ensure that the default configuration method yields so content can be supplied
Date Sun, 25 May 2014 07:31:43 GMT
Ensure that the default configuration method yields so content can be supplied


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/ee6471ad
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/ee6471ad
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/ee6471ad

Branch: refs/heads/master
Commit: ee6471ad8bcbbc87c0aeaba4c86bff1e76295fa2
Parents: 6c391f0
Author: Peter Donald <peter@realityforge.org>
Authored: Sun May 25 17:29:23 2014 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Sun May 25 17:29:23 2014 +1000

----------------------------------------------------------------------
 lib/buildr/ide/idea.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/ee6471ad/lib/buildr/ide/idea.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/ide/idea.rb b/lib/buildr/ide/idea.rb
index 78431b3..ee363bb 100644
--- a/lib/buildr/ide/idea.rb
+++ b/lib/buildr/ide/idea.rb
@@ -658,7 +658,9 @@ module Buildr #:nodoc:
       end
 
       def add_default_configuration(type, factory_name)
-        add_configuration(nil, type, factory_name, true)
+        add_configuration(nil, type, factory_name, true) do |xml|
+          yield xml if block_given?
+        end
       end
 
       def add_postgres_data_source(name, options = {})


Mime
View raw message