summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* Clean up specsTuncer Ayaz2011-03-286-53/+57
|
* Fix bug: xref should be stopped after being runJordi Chacon2011-03-261-0/+3
| | | | Xref not being stopped caused a crash in subsequent xref runs.
* Fix code clarity and formattingTuncer Ayaz2011-03-221-17/+17
|
* Fix ct include option prefixShunichi Shinohara2011-03-221-1/+1
|
* Simplify find_dep_in_dirTuncer Ayaz2011-03-131-1/+1
|
* Fix commentsTuncer Ayaz2011-03-131-12/+12
|
* Deprecate old hooksTuncer Ayaz2011-03-123-0/+53
|
* Simplify hook changes to rebar_coreTuncer Ayaz2011-03-121-11/+5
|
* Add pre and post script support for all commandsTim Watson2011-03-121-1/+17
| | | | | | | | | This change makes it possible to assign pre/post scripts to all rebar commands. This allows users fine grained control over when scripts and/or shell commands should be executed, where such extensions are absolutely needed. Several examples have been added to the rebar.config.sample file.
* Fix regression (thanks Anthony Molinaro)Tuncer Ayaz2011-03-071-4/+5
|
* Fix bug that causes appup generation to failjoewilliams2011-03-032-22/+43
| | | | | | | | | This commit changes how rebar determines which apps have been updated, added and removed from a release during appup generation. Rather than use app files it now determines this from the rel file in each version of the release. In addition it fixes a bug reported on the mailing list when generating appups when an application has been added or removed from either release.
* honor local deps before code pathChristopher Brown2011-03-021-26/+49
|
* Convert the entries in the code path to absolute pathsJuan Jose Comellas2011-02-262-1/+14
| | | | | | | Rebar will exit with {error,bad_directory} when trying to restore the code path after it has finished working on a subdirectory if there are invalid relative paths in it. The problem was seen when executing the last line of rebar_erlc_compiler:doterl_compile/3 (true = code:set_path(CurrPath)).
* Ignore app files not in ebinjoewilliams2011-02-251-4/+4
|
* Fix regression in rebar_lfe_compilerTuncer Ayaz2011-02-221-2/+3
|
* Use erlang:function_exported/3Tuncer Ayaz2011-02-211-2/+2
|
* Fix Dialyzer warning and slightly reformat codeTuncer Ayaz2011-02-211-3/+7
|
* Add up to date instructions in case LFE is missingTim Dysinger2011-02-211-7/+11
|
* Add fail_on_warning support for LFETim Dysinger2011-02-211-4/+8
|
* Add -spec support to rebar_ct command lineTim Watson2011-02-211-21/+49
| | | | | | | | | | | | | This change adds support for executing ct test runs based on test specificiations, which was missing previously. The rebar_ct module now looks for any number of files with a name ending in `test.spec` and if it finds one or more, passes these after the `-spec` argument to ct_run instead of explicitly configuring the config, user config and coverage config variables. When no specifications are found, then the module behaves as it did before this change, and both the ct1 and (new) ct2 integration tests appear to show this is a backwards compatible patch.
* 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-172-2/+14
|
* Clean up trailing whitespacejoewilliams2011-02-173-5/+5
|
* Clean up rebar_appups and rebar_upgradejoewilliams2011-02-174-109/+92
|
* Add PropEr supportTuncer Ayaz2011-02-161-17/+24
|
* Fix generate-appups regression (atom vs list)joewilliams2011-02-161-1/+1
|
* Add 'generate-appups' commandjoewilliams2011-02-153-3/+230
| | | | | | | | | | | | | | | To further support OTP releases I have added support for generating application appup files. These include instructions that systools uses to generate a relup file which contains the low level instructions needed to perform a hot code upgrade. My goal with this module is to produce "good enough" appup files or at least a skeleton to help one get started with something more complex. If an appup file already exists for an application this command will not attempt to create a new one. Usage: $ rebar generate-appups previous_release=/path/to/old/version Generally this command will be run just before 'generate-upgrade'.