buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <j...@apache.org>
Subject [jira] Created: (BUILDR-518) Load _buildr.rb or .buildr.rb from same directory as Buildfile if they exist
Date Sat, 25 Sep 2010 09:20:34 GMT
Load _buildr.rb or .buildr.rb from same directory as Buildfile if they exist
----------------------------------------------------------------------------

                 Key: BUILDR-518
                 URL: https://issues.apache.org/jira/browse/BUILDR-518
             Project: Buildr
          Issue Type: New Feature
    Affects Versions: 1.4.3
            Reporter: Peter Donald
             Fix For: 1.4.3
         Attachments: LoadBuildrFileFromLocalDir.diff

Currently you can load user specific customizations from the home directory (i.e. ~/.buildr/buildr.rb)
 but you can not load per project customizations. The attached patch does just this. The file
".buildr.rb" or "_buildr.rb" is loaded from the same directory as the buildfile. The choice
was made not to use a file named "buildr" because this can shadow the buildr script on systems
that allow you to execute ruby files without their extensions.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message