summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Export $REBAR_DEPS_DIR and $ERL_LIBS variablesAnton Lavrik2011-09-021-0/+13
| | | | | | | | | | | | Export two extra environment variables when executing shell commands. These variables are useful for rebar hooks that rely on Erlang applications installed as rebar dependencies. $REBAR_DEPS_DIR contains a fully-qualified name of the directory where rebar stores dependencies. $ERL_LIBS is set to $REBAR_DEPS_DIR or to "$REBAR_DEPS_DIR:$ERL_LIBS", if $ERL_LIBS was defined before.
* Ensure include dir exists in compile_mib/3Ignas Vyšniauskas2011-09-021-1/+2
|
* Clean up and fix vcs functions and loggingTuncer Ayaz2011-09-021-25/+32
|
* Add support for checking out specific git commitBen Ellis2011-09-011-3/+8
|
* Fix cover_init call to use correct module listTuncer Ayaz2011-09-011-1/+1
|
* Keep *_tests not automatically included by eunitJoseph Wayne Norton2011-09-011-9/+16
|
* Fix misspelling of accommodateTuncer Ayaz2011-08-311-1/+1
|
* Comment git vsn cmd changesTuncer Ayaz2011-08-291-1/+3
|
* Search plugin sources in base_dir and plugin_dirTuncer Ayaz2011-08-292-4/+13
|
* Only compile relevant plugin sourcesTuncer Ayaz2011-08-291-1/+7
|
* Simplify check for empty listTuncer Ayaz2011-08-291-1/+1
|
* Load plugins dynamically from sourceTim Watson2011-08-291-5/+49
| | | | | | | | | This patch updates rebar_core to look for missing plugins (i.e. those that aren't found on the code path at runtime) in a configurable plugin directory, and dynamically compile and load them at runtime. By default, the directory "plugins" is searched, although this can be overriden by setting the plugin_dir in your rebar.config.
* Fix R13 compatibility (auto imported monitor/2)Alfonso De Gregorio2011-08-281-1/+1
|
* 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)
* Fix Dialyzer warningsTuncer Ayaz2011-08-251-12/+12
|
* Merge slf-eunit-process-isolation2 branchScott Lystig Fritchie2011-08-241-0/+148
|\
| * Check $ancestors for kernel OTP app processes to not killScott Lystig Fritchie2011-08-241-9/+22
| |
| * Add comments on pids not to killScott Lystig Fritchie2011-08-231-0/+4
| |
| * Portability via filename:join/1Scott Lystig Fritchie2011-08-231-2/+3
| |
| * Replace sleep with pause_until_net_kernel_stopped()Scott Lystig Fritchie2011-08-231-1/+17
| |
| * EUnit: reset vm state after test runScott Lystig Fritchie2011-08-111-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | Added new property to `eunit_opts` option list: reset_after_eunit::boolean() - default = true. If true, try to "reset" VM state to approximate state prior to running the EUnit tests: * Stop net_kernel if it was started * Stop OTP applications not running before EUnit tests were run * Kill processes not running before EUnit tests were run * Reset OTP application environment variables
* | Log a more descriptive messageTuncer Ayaz2011-08-231-1/+2
| |
* | Apply Tidier suggestionsTuncer Ayaz2011-08-202-12/+11
| |
* | Limit line lengthTuncer Ayaz2011-08-202-5/+7
| |
* | Support command invocation on Windows without MSYSJan Klötzke2011-08-202-25/+33
| | | | | | | | | | | | If MSYS (with bash) is not installed on Windows then do the shell variable substitution by ourselves. Otherwise just call bash to do the job.
* | Respect the --config switch when givenTim Watson2011-08-182-13/+11
| | | | | | | | | | | | | | | | Currently the --config switch does not work because when loading a new rebar config the global setting is ignored for all paths. This patch provides a check when loading new rebar config to see whether or not the current config path matches the `base_dir` set in global conf, which produces the expected behaviour.
* | Rename rebar_plugins to plugins for consistencyTuncer Ayaz2011-08-161-1/+1
|/
* Fix handling of {already_started,Pid} from cover:startDavid Reid2011-08-101-2/+10
| | | | | | | | Previous patch erroneously assumed that cover:start() returned {already_started,Pid} in the cases where cover was already started. We now turn {error,{already_started,Pid}} into {ok, Pid} and return {error, Reason} if we encounter an error we do not know about, this will cause a nice and violent badmatch to stop everything.
* Merge pull request #102 from dreid/quiet-coverDave Smith2011-08-051-3/+22
|\ | | | | Redirect cover module output to .eunit/cover.log
| * Redirect cover module output to .eunit/cover.logDavid Reid2011-08-051-3/+22
| | | | | | | | | | | | | | | | | | The cover module calls io:format and io:fwrite directly for several types of informational messages and warnings. When using meck to mock covered modules these warnings are triggered and can cause severe polution of the test output. We can avoid this by starting cover explicitly then setting the group_leader of that process to a file handle.
* | Generate .hrl file from .mibAnders Nygren2011-08-051-2/+10
| | | | | | | | | | | | | | | | | | | | | | Generate .hrl files into include from SNMP MIB files. Change the order of so .mib files are built before .erl This is necessary since .hrl files are generated from the .mib files. The generated .bin and .hrl files are deleted by clean. This is a cleaned up version of a patch originally sent to the rebar mailing list by David Nonnenmacher.
* | Extend app resource file existence checksTuncer Ayaz2011-08-051-4/+12
| |
* | Add awareness of 'app' parameter to ct moduleTino Breddin2011-08-041-2/+14
| |
* | Extend port compiler default env for Darwin 11 32-bitTuncer Ayaz2011-08-011-1/+6
| |
* | Remove unused function rebar_utils:deprecated/4Tuncer Ayaz2011-07-281-11/+7
| |
* | Fix error handling bug in {copy,In,Out} templateTuncer Ayaz2011-07-181-4/+4
| |
* | Optimize list ops and error reporting in sh/2Tuncer Ayaz2011-07-181-11/+11
| |
* | Apply Tidier suggestionsTuncer Ayaz2011-07-181-3/+3
| |
* | Use filename:join/1Tuncer Ayaz2011-07-183-5/+5
| |
* | Fix grep portability (Reported-by: Andrew Thompson)Tuncer Ayaz2011-07-141-1/+1
| |
* | get_reltool_release_info now expects consulted datajoewilliams2011-07-121-1/+1
| |
* | skip appup generation for new app in releaseAndrew Gopienko2011-07-111-0/+2
| |
* | Add support for {copy, src, dst} to templatercloudhead2011-07-081-0/+11
| |
* | Fix {git,Url} support (Reported-by: Garrett Smith)Tuncer Ayaz2011-07-081-1/+5
| |
* | Use auto-imported element/2Tuncer Ayaz2011-07-081-2/+2
| |
* | Do not warn if pre_/post_ cmd is not availableTuncer Ayaz2011-07-081-2/+9
| |
* | Correct sub_dirs loop log messageTuncer Ayaz2011-07-071-2/+2
| |
* | Log if sub_dirs loop is detectedTuncer Ayaz2011-07-061-2/+35
| |
* | Add support for $HOME/.rebar/configTuncer Ayaz2011-07-063-8/+31
| |