summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Fix logging (reported-by Sergey Yelin)Tuncer Ayaz2011-07-041-1/+1
| |
* | Merge pull request #90 from smarkets/upgrade-fixesJoe Williams2011-07-014-107/+138
|\ \ | | | | | | look for new and old versions in the target parent
| * | look for new and old versions in the target parentSteven Gravell2011-07-014-107/+138
| |/ | | | | | | | | | | | | | | | | | | | | The target_dir config in reltool allows you to put your release in a directory other than in ./NAME, so we should look in the parent directory of that to find the new and old versions instead of simply looking in ./ Move untaring and retaring into a temporary path instead of in ./ to prevent name collisions with "releases" and "lib" that might exist already. Having a subdirectory rel/releases/ can be useful.
* | default module appup instruction -> load_moduleSteven Gravell2011-07-011-1/+1
|/
* Add options for escript shebang, command, emu_argsMathias Meyer2011-06-141-1/+5
| | | | | | | Allows customizing the arguments handed over to the Erlang VM, e.g. to set a name or a cookie, e.g. by setting escript_emu_args to: %%! -name rebar -setcookie rebar
* Add list-deps to completion and abbrev-cmdsTuncer Ayaz2011-06-101-3/+3
|
* Add command listing for list-depsJared Morrow2011-06-101-0/+1
|
* Deprecate xrl_opts/yrl_opts fail_on_warning optTuncer Ayaz2011-06-082-15/+14
|
* Remove leftover references to rebar_dialyzerTuncer Ayaz2011-06-071-4/+4
|
* Merge pull request #81 from evanmiller/em-protobuffsDave Smith2011-06-061-2/+2
|\ | | | | Recursively search "src" for .proto files
| * Recursively search "src" for .proto filesEvan Miller2011-06-011-2/+2
| |
* | Remove rebar_dialyzerjoewilliams2011-06-062-231/+2
| |
* | Merge pull request #80 from hyperthunk/plugin-hooksDave Smith2011-06-061-1/+20
|\ \ | | | | | | Allow plugins to run before/after a rebar command.
| * | Allow plugins to run before/after a rebar command.Tim Watson2011-05-231-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes a small change in rebar_core that checks the list of valid plugins to see if any of them export a pre/post processing function for the current command. This logic is applied only to the plugins and allows plugin authors to hook into rebar's execution by using a naming convention that matches the one used for scripting hooks. Example: ```erlang -module(my_rebar_plugin). -export([pre_compile/2]). pre_compile(Config, AppFile) -> rebar_log:log(debug, "PRECOMPILE: ~p:~p~n", [AppFile, Config]), ok. ```
* | | Apply Tidier suggestionsTuncer Ayaz2011-06-025-24/+18
| | |
* | | Make port compilation template configurableJuhani Rankimies2011-06-021-15/+40
| |/ |/| | | | | | | | | - Port compiler no longer requires bash on windows. - It's possible to use compilers whose command lines don't fit into the default template
* | Minimize compile optionsTuncer Ayaz2011-06-012-4/+4
| |
* | Fix erlc regression (reported-by Benoit Chesneau)Tuncer Ayaz2011-06-011-2/+2
| |
* | Cleanup deprecations now that R14B03 is releasedTuncer Ayaz2011-05-315-195/+12
| |
* | Extract code to get wordsize into helper functionTuncer Ayaz2011-05-312-15/+12
| |
* | Use external wordsize to get emulator build archSteve Vinoski2011-05-313-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling erlang:system_info(wordsize) yields the internal word size of the Erlang emulator. But due to the halfword emulator, need to pass {wordsize, external} instead to get the word size, or pointer size, as seen by external code such as NIFs. The halfword emulator has 4 byte internal words but 8 byte external words due to 64-bit compilation, which means NIFs for the halfword emulator also have to be compiled 64-bit. But just passing wordsize is equivalent to passing {wordsize, internal}, which does not indicate the pointer size for the halfword emulator. Older versions of Erlang do not support {wordsize, external}, though, so continue to pass just wordsize for those versions.
* | Change arch-specific port_sources to take a listAndrew Tunnell-Jones2011-05-281-6/+6
| | | | | | | | | | | | | | | | | | | | Change the second parameter of a regex tagged port_source from being a filename or wildcard to being a list of filenames or wildcards. Previously: {"R14", "c_src/*.c"} Now: {"R14", ["c_src/*.c"]} Motivation for change is to avoid repeating regexes.
* | Abort if xref emits warningsShunichi Shinohara2011-05-251-21/+26
| |