summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
| |
* | Abort if dialyze emits warningsTuncer Ayaz2011-05-251-6/+10
| |
* | Better org. of how upgraded apps are determinedjoewilliams2011-05-242-17/+49
| | | | | | | | | | | | get_apps/3 now returns which apps have been added, removed and ugpgraded in a reasonable way. It should prove more usable should we want to access any of those lists in future appup related changes.
* | Fix leftover whitespace errorsTuncer Ayaz2011-05-231-9/+9
|/
* Fix indentation errorsTuncer Ayaz2011-05-232-39/+38
|
* Fix indentation errorsTuncer Ayaz2011-05-211-36/+37
|
* Merge pull request #69 from maxlapshin/masterDave Smith2011-05-201-1/+1
|\ | | | | I've added variable expansion in replace overlay
| * Expand variables in replace overlayMax Lapshin2011-04-291-1/+1
| |
* | Change logic to support more port env use casesAnthony Molinaro2011-05-131-11/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic changes from strict overrides to a hybrid for merging os_env and defaults, whereby defaults are chosen if they are not set in the os_env or if the defaults contains substitutions (at which point os environment is substituted). This still means that rebar.config works as it did before, where it overrides or substitutes based on the use of $VAR, but that default and os environment merging works such that the common cases of providing CC or LDFLAGS in the users environment or command line work as you might expect. In that CC is overriden by the os environment unless rebar.config overrides it, and LDFLAGS from the user environment is appended or prepended based on defaults and rebar.config. Addresses problems with https://github.com/basho/rebar/pull/71 Also keeps the fix for bug 255.
* | Fix code readability in port_compilerTuncer Ayaz2011-05-121-15/+15
|/
* Add missing newline in port_compiler debug msgTuncer Ayaz2011-04-281-1/+1
|
* Update mustache.erlTuncer Ayaz2011-04-271-7/+19
|
* Fix eunit regression (reported-by Alexander Dorofeev)Andrew Thompson2011-04-231-1/+4
|
* Adjust deprecation messageTuncer Ayaz2011-04-211-1/+1
|
* Add support for command-specific env for hooksTuncer Ayaz2011-04-212-17/+26
|
* Add list-deps commandDave Smith2011-04-211-1/+21
|
* Support settable plt dir for dialyzerEvax Software2011-04-121-11/+26
| | | | | Allow rebar to use dialyzer plt files from an alternate directory through the use of the REBAR_PLT_DIR environment variable.
* Remove lfe_opts (suggested by Tim Dysinger)Tuncer Ayaz2011-04-111-5/+1
|
* Centralize variable resolution; add target_dir variableDave Smith2011-04-102-43/+42
|
* Add support for priv/<vcs.vsn> as fallback for version infoDave Smith2011-04-101-2/+26
|
* Add support for loading template vars from external fileDave Smith2011-04-101-3/+19
|
* Add support for template_wildcarding; allows files from many directories to ↵Dave Smith2011-04-101-0/+15
| | | | be templated.
* Refactor overlay_vars to enable overrides from command-lineDave Smith2011-04-101-28/+25
|
* Make sure to pass dir of app when invoking git; enhance shell logging outputDave Smith2011-04-102-4/+5
|
* Deprecate fail_on_warning and refactor codeTuncer Ayaz2011-04-076-50/+46
|
* Pass extra params to ct (thanks Mickael Remond)Tim Watson2011-04-061-6/+13
| | | | | This patch adds a `ct_extra_params` option to rebar.config, the value of which is appended to the shell command when executing common test.
* New eunit param skip_app, allow suite to be a listAndrew Thompson2011-04-061-8/+25
| | | | | | | | | | | | | | This patch allows the 'suite' argument to eunit to be a comma separated list of modules to test instead of being a single module. This allows fine-grained testing when one test suite interferes with another and its not clear which suite is causing the problem. It also lets you run the test suite in a different order for a similar reason. The other enhancement is to add a new eunit parameter; 'skip_app' which like 'app' is a comma separated list of modules to skip testing on. This parameter is only applied if the app parameter is not passed. Its purpose is to avoid forcing you to specify all the apps to test if you only want to skip a handful and there are many apps to test.
* Use infinite receive (thanks Hakan Mattsson)Tuncer Ayaz2011-04-041-4/+4
|
* Use abort in check-plt and update docDavid Reid2011-04-021-3/+3
|
* Make debug_info defaultTuncer Ayaz2011-03-302-9/+8
| | | | | Add no_debug_info option. Remove debug_info=1 option.