Note down reasoning for odd construct

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1535652 
13f79535-47bb-0310-9956-ffa450edef68


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

Branch: refs/heads/master
Commit: e1f4441ba2f94d8025d40cb15ca007e8412e8c0f
Parents: 8f1d8d3
Author: Peter Donald <[email protected]>
Authored: Fri Oct 25 08:10:36 2013 +0000
Committer: Peter Donald <[email protected]>
Committed: Fri Oct 25 08:10:36 2013 +0000

----------------------------------------------------------------------
 lib/buildr/core/assets.rb | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/e1f4441b/lib/buildr/core/assets.rb
----------------------------------------------------------------------
diff --git a/lib/buildr/core/assets.rb b/lib/buildr/core/assets.rb
index 4a9466d..95229a4 100644
--- a/lib/buildr/core/assets.rb
+++ b/lib/buildr/core/assets.rb
@@ -90,6 +90,9 @@ module Buildr #:nodoc:
       end
 
       after_define do |project|
+        # This is used to add actions after project is defined so that files 
are copied
+        # as the last action and don't block tasks that try and filter into 
target dir
+        # from the source dir
         project.assets.send(:add_enhance_actions)
       end
 

Reply via email to