summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add console_clean to usage message for simplenodeAlexey Romanov2011-03-041-1/+1
|
* 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.
* Add Christopher Brown to THANKS fileTuncer Ayaz2011-03-031-0/+1
|
* 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-215-22/+86
| | | | | | | | | | | | | 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
|
* Add Anders 'andekar' to THANKS fileTuncer Ayaz2011-02-171-0/+1
|
* 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-156-11/+233
| | | | | | | | | | | | | | | 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'.
* Give an absolute path to code:add_path/1Anthony Ramine2011-02-151-1/+1
| | | | | | | If an app uses -include_lib for its own included files, compilation fails if the app directory isn't in $ERL_LIBS because code:lib_dir/1 will return an error. An absolute path needs to be added to code path instead of just "ebin".
* Remove gratuitous spacesTuncer Ayaz2011-02-151-5/+5
|
* Add common_test suite templateTim Watson2011-02-152-0/+169
| | | | | | | | | | | | This change adds a simple common_test suite template that can be instantiated with the name of a module under test like so: `rebar create template=ctsuite testmod=mymodule` The template creates an empty test suite in the test directory, automatically exports test functions and sets up a first, skipped test function.
* Clarify trailing slash for PIPE_DIRJoseph Wayne Norton2011-02-151-2/+2
| | | | | The trailing slash for PIPE_DIR is necessary for both start and attach operations.
* Document eunit_first_filesTuncer Ayaz2011-02-131-0/+3
|
* Remove export_all directiveTuncer Ayaz2011-02-131-3/+2
|
* Add eunit_first_files optionJoseph Wayne Norton2011-02-131-1/+4
|
* Support 2 forms of implicit HEAD for gitDavid Reid2011-02-131-0/+8
| | | | | | | | In git origin/HEAD is a pointer to the default branch. This patch allows two alternatives to explicitly specifying "HEAD" in git VC specs. The first is a 2 arity form {git, Url} and the second is {git, Url, ""} which worked in pre-update-deps rebars.
* Clean up codeTuncer Ayaz2011-02-0626-385/+523
|
* Fix warningTuncer Ayaz2011-01-311-1/+1
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-3140-40/+40
|
* Update nodetool in upgrade_projectTuncer Ayaz2011-01-311-0/+22
|
* Add Tim Watson to THANKS fileTuncer Ayaz2011-01-301-0/+1
|
* Fix file existence checksTuncer Ayaz2011-01-293-11/+11
|
* Fix Dialyzer warnings in rebar_upgradeTuncer Ayaz2011-01-291-2/+2
|
* Move BUILD_TIME and VCS_INFO macrosTim Watson2011-01-292-8/+8
| | | | | | I have moved these macros from rebar_core.erl to rebar.erl in order to prevent eunit tests from failing (which they currently are).
* Fix bug 294Tuncer Ayaz2011-01-291-0/+22
|
* Use filename:join instead of ?FMTTuncer Ayaz2011-01-281-2/+4
|
* Update shell completion: generate-upgradeTuncer Ayaz2011-01-281-3/+3
| | | | Add generate-upgrade and previous_release=.
* Fix help: previous_release is mandatoryTuncer Ayaz2011-01-281-1/+1
|
* Update THANKS fileTuncer Ayaz2011-01-271-0/+4
|
* Add 'generate-upgrade' commandjoewilliams2011-01-2717-5/+720
| | | | | | | | | | | | | | | | | | | | | To support OTP release upgrades I have added support for building upgrade packages. Support for this is included in the rebar_upgrade module, specifically generate_upgrade/2. It requires one variable to be set on the command line 'previous_release' which is the absolute path or relative path from 'rel/' to the previous release one is upgrading from. Running an upgrade will create the needed files, including a relup and result in a tarball containing the upgrade being written to 'rel/'. When done it cleans up the temporary files systools created. Usage: $ rebar generate-upgrade previous_release=/path/to/old/version This also includes a dummy application that can be used to test upgrades as well as an example. Special thanks to Daniel Reverri, Jesper Louis Andersen and Richard Jones for comments and patches.
* Fix circular dependencyTuncer Ayaz2011-01-272-45/+45
|
* Use an order independent method for exact matches when looking for command ↵Dave Smith2011-01-251-3/+3
| | | | candidates
* Add support for abbreviated command namesKlas Johansson2011-01-242-12/+75
| | | | | | | | | | | | | | | | | | | This change makes it possible to type the beginning (the prefix) of a command name and rebar will guess the full name of the command, thereby saving the user precious keystrokes. As long as the prefix matches only one command, rebar runs that command, otherwise rebar prints a list of candidate command names. The "-" character is considered to be a word separator and the prefix matching is done per word. Example prefix matches: co ==> compile cl ==> clean create ==> create create-a ==> create-app c-a ==> create-app c-app ==> create-app
* Move command line handling funs into rebar.erlTuncer Ayaz2011-01-242-173/+187
|
* Update getoptTuncer Ayaz2011-01-231-6/+13
|
* Add file local variables to nodetool escriptTuncer Ayaz2011-01-211-1/+2
|
* Synchronize nodetool escript with riak versionTuncer Ayaz2011-01-211-1/+36
|