summaryrefslogtreecommitdiff
path: root/src/rebar_app_utils.erl
Commit message (Collapse)AuthorAgeFilesLines
* Allow script to be evaluated when app file is loadedEric Merritt2012-09-071-1/+23
| | | | | | This allows an <app-name>.app.src.script to be defined and evaluated when <app-name>.app.src or <app-name>.app are loaded. This allows the user to add project specific manipulations to app metadata.
* Finalize app=, skip_app=, suite= deprecationsTuncer Ayaz2012-07-231-2/+2
|
* Do not use application:set_envTuncer Ayaz2012-07-231-9/+9
|
* Remove shared stateTuncer Ayaz2012-07-131-45/+50
|
* Cleanup and simplify deprecated option handlingTuncer Ayaz2012-01-011-22/+2
|
* Move vcs_vsn/2 to rebar_utilsTuncer Ayaz2011-12-281-56/+1
|
* Universally support apps=/skip_apps=Tuncer Ayaz2011-12-121-33/+63
|
* Move is_skipped_app/0 to rebar_app_utilsTuncer Ayaz2011-12-121-1/+37
|
* rebar_app_utils: fix git hook for WindowsJan Klötzke2011-10-201-1/+8
|
* Support for custom version commandsTim Watson2011-10-111-0/+3
| | | | | | | | | | | | | | This patch adds support for customising the way in which rebar generates version numbers for app.src files using the `{vsn,Spec}` approach. Whilst the existing `{vsn,ScmName::atom()}` syntax will continue to work, users can also pass `{vsn,{cmd,Cmd::string()}}` in which case the provided *command* will be used. For example: ```erlang {application, doodah, [ {vsn, {cmd, "git rev-parse --short HEAD"}}]}. ```
* Fix misspelling of accommodateTuncer Ayaz2011-08-311-1/+1
|
* Comment git vsn cmd changesTuncer Ayaz2011-08-291-1/+3
|
* Document git vsn cmd and fix formattingTuncer Ayaz2011-08-271-3/+7
|
* Add precise git versioning of multiple appsYurii Rashkovskii2011-08-271-1/+1
| | | | | | | | | Allows using tools like git-subtree and still maintaining proper git-based vsns for those "imported" subtrees. Also helps understanding what was the last change introduced to a specific application within a multi-application repository (at this moment, all applications that reside in the same repository, will share the same autogenerated git vsn)
* Extend app resource file existence checksTuncer Ayaz2011-08-051-4/+12
|
* Use filename:join/1Tuncer Ayaz2011-07-181-2/+2
|
* Add support for priv/<vcs.vsn> as fallback for version infoDave Smith2011-04-101-2/+26
|
* Make sure to pass dir of app when invoking git; enhance shell logging outputDave Smith2011-04-101-3/+4
|
* Clean up and simplify {vsn, VCS} supportDave Smith2011-02-181-12/+11
|
* Add {vsn,Vcs} support for bzr, hg and svnTuncer Ayaz2011-02-171-6/+15
|
* Expand {vsn,git} in app.src to git-describe outputAdam Kocoloski2011-02-171-1/+8
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix bug 770Tuncer Ayaz2011-01-081-2/+10
|
* Tidier improvementsKostis Sagonas2010-10-261-5/+6
|
* Remove warnings reported by xrefKlas Johansson2010-06-191-1/+1
| | | | | | | Replace rebar_util:get_cwd/0 by rebar_utils:get_cwd/0. Luckily the misspelt module name doesn't seem to have caused any harm, since rebar_app_utils:is_app_dir/0 and rebar_rel_utils:is_rel_dir/0 aren't called (only their /1 counterparts).
* Removing some unnecessary debugging messagesDave Smith2010-06-091-2/+0
| | | | | --HG-- extra : rebase_source : 05a045be5aed66ee292e6f5896ab6de71d4a2128
* Complete implementation for simplistic .app.src processing.Dave Smith2010-05-071-6/+24
|
* Add caching of app fileDave Smith2010-04-281-7/+13
|
* Refactoring app file access to be via rebar_app_utils in prep for supporting ↵Dave Smith2010-04-281-5/+40
| | | | .app.src
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Refactor rebar to build a self-contained scriptDave Smith2009-12-041-2/+2
|
* More gross structural work; now has log levels and broken out log level controlDave Smith2009-11-291-1/+20
|
* Initial commitDave Smith2009-11-251-0/+39