summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'simplenode_runner_start_args' of git://github.com/alexeyr/rebarDave Smith2011-03-161-1/+2
|\
| * Support passing plain arguments to `appname start`Alexey Romanov2011-03-051-1/+2
| | | | | | | | | | | | | | Currently with default simplenode template, `appname console other_args` will pass ["console", "other_args"] as plain arguments. But `appname start other_args` effectively calls `appname console`. This patch replaces this call with `appname console other_args`.
| * Remove rejected commitAlexey Romanov2011-03-051-1/+1
| |
| * Merge commit 'upstream/master'Alexey Romanov2011-03-0513-88/+223
| |\
| * | Add console_clean to usage message for simplenode.Alexey Romanov2011-02-211-1/+1
| | |
| * | Support passing plain arguments to simplenode.Alexey Romanov2011-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | `init:get_plain_arguments()` returns `["console", "more_args"]` when started with `$APP_NAME console more_args`, but `["console"]` when started with `$APP_NAME start more_args`. This patch makes `start` behave like `console` in this respect.
| * | Merge branch 'master' of https://github.com/basho/rebarAlexey Romanov2011-02-2164-1007/+2831
| |\ \
| * \ \ Merge branch 'master' of git://github.com/basho/rebarAlexey Romanov2010-12-115-10/+58
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: priv/templates/simplenode.runner
| * | | | ignore .eunitAlexey Romanov2010-12-071-0/+1
| | | | |
| * | | | Fix quotesAlexey Romanov2010-12-071-1/+1
| | | | |
| * | | | Allow for non-SMP emulatorAlexey Romanov2010-12-071-1/+1
| | | | |
* | | | | Simplify find_dep_in_dirTuncer Ayaz2011-03-131-1/+1
| | | | |
* | | | | Fix commentsTuncer Ayaz2011-03-131-12/+12
| | | | |
* | | | | Cleanup rebar.config.sampleTuncer Ayaz2011-03-121-3/+4
| | | | |
* | | | | Deprecate old hooksTuncer Ayaz2011-03-124-20/+53
| | | | |
* | | | | Simplify hook changes to rebar_coreTuncer Ayaz2011-03-121-11/+5
| | | | |
* | | | | Add pre and post script support for all commandsTim Watson2011-03-125-1/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Update README: file local variablesTuncer Ayaz2011-03-101-16/+0
| | | | |
* | | | | Fix regression (thanks Anthony Molinaro)Tuncer Ayaz2011-03-071-4/+5
| |_|_|/ |/| | |
* | | | Update runner script in test projectTuncer Ayaz2011-03-041-3/+3
| | | |
* | | | 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
| | |