You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2011/06/22 12:11:13 UTC

[jira] [Closed] (BUILDR-518) Load _buildr.rb or .buildr.rb from same directory as Buildfile if they exist

     [ https://issues.apache.org/jira/browse/BUILDR-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald closed BUILDR-518.
-------------------------------


> 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
>            Assignee: Alex Boisvert
>             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.
For more information on JIRA, see: http://www.atlassian.com/software/jira