couchdb-rebar.git
8 years agoBump to 2.5.0 2.5.0
Fred Hebert [Mon, 23 Jun 2014 18:50:38 +0000 (14:50 -0400)] 
Bump to 2.5.0

8 years agoRevert "Merge pull request #281 from tuncer/rebar-h-internal"
Fred Hebert [Mon, 23 Jun 2014 17:48:49 +0000 (13:48 -0400)] 
Revert "Merge pull request #281 from tuncer/rebar-h-internal"

This reverts commit 07e2232847baa634b7d09bdb87dafda6c6bcc4a4, reversing
changes made to 37cf470ae9a07cdd2e0769f3af9a8b89fcde8db0.

8 years agoBump Rebar to 2.4.0 2.4.0
Fred Hebert [Wed, 18 Jun 2014 15:52:56 +0000 (11:52 -0400)] 
Bump Rebar to 2.4.0

8 years agoMerge pull request #260 from dgud/dgud/windows-fix-paths
Fred Hebert [Wed, 18 Jun 2014 15:26:29 +0000 (11:26 -0400)] 
Merge pull request #260 from dgud/dgud/windows-fix-paths

Quote include/lib paths

8 years agoMerge pull request #285 from nevar/fix_inheritance
Tristan Sloughter [Sun, 15 Jun 2014 19:48:12 +0000 (14:48 -0500)] 
Merge pull request #285 from nevar/fix_inheritance

Fix #249 (erlc regression)

8 years agoMerge pull request #296 from runcom/add_gen_event_template
Tristan Sloughter [Sun, 15 Jun 2014 19:48:01 +0000 (14:48 -0500)] 
Merge pull request #296 from runcom/add_gen_event_template

Add gen_event template

8 years agoAdd gen_event template
Antonio Murdaca [Sun, 15 Jun 2014 12:16:57 +0000 (14:16 +0200)] 
Add gen_event template

8 years agoMerge pull request #195 from fgallaire/switch_template_instructions
Tristan Sloughter [Sun, 15 Jun 2014 02:55:44 +0000 (21:55 -0500)] 
Merge pull request #195 from fgallaire/switch_template_instructions

Switch template instructions

8 years agoMerge pull request #112 from tuncer/horvand-cover-for-qc
Tristan Sloughter [Sat, 14 Jun 2014 17:46:01 +0000 (12:46 -0500)] 
Merge pull request #112 from tuncer/horvand-cover-for-qc

Add code coverage analysis functionality to `qc'

8 years agoWrap cover:stop() call as rebar_cover_utils:exit/0
Tuncer Ayaz [Sat, 14 Jun 2014 16:25:38 +0000 (18:25 +0200)] 
Wrap cover:stop() call as rebar_cover_utils:exit/0

8 years agorebar_eunit: disambiguate internal naming
Tuncer Ayaz [Sat, 14 Jun 2014 16:12:18 +0000 (18:12 +0200)] 
rebar_eunit: disambiguate internal naming

Partially revert naming changes introduced in 93689703c1:
CoverageModules -> FilteredModules
get_coverage_modules -> get_matching_modules

Having the name "coverage" meaning "filtered/selected modules" can be
confused with code coverage.

8 years agoAdd code coverage analysis functionality to `qc'
Andras Horvath [Wed, 24 Apr 2013 19:43:07 +0000 (21:43 +0200)] 
Add code coverage analysis functionality to `qc'

- Use `cover' with QuickCheck testing
- Reuse the `cover_*' rebar.config options
- Refactor cover-related code to separate module (`qc_cover_utils')
  for use with both `eunit' and `qc'

8 years agoRevert "Merge pull request #171 from fenollp/using-stdlib"
Tristan Sloughter [Sat, 14 Jun 2014 17:10:08 +0000 (12:10 -0500)] 
Revert "Merge pull request #171 from fenollp/using-stdlib"

This reverts commit 3297ffec2c89c6b7135165b4bfaeaeb07167c33c, reversing
changes made to 0401debb3cf23d67affbe465a7a438049180a608.

8 years agoMerge pull request #281 from tuncer/rebar-h-internal
Tristan Sloughter [Sat, 14 Jun 2014 16:19:43 +0000 (11:19 -0500)] 
Merge pull request #281 from tuncer/rebar-h-internal

Move include/rebar.hrl to src/rebar.hrl

8 years agoMerge pull request #130 from yamt/ct-fixes
Tristan Sloughter [Sat, 14 Jun 2014 16:18:54 +0000 (11:18 -0500)] 
Merge pull request #130 from yamt/ct-fixes

ct fixes

8 years agoMerge pull request #229 from tolbrino/tb-patch-env
Tristan Sloughter [Sat, 14 Jun 2014 00:25:21 +0000 (19:25 -0500)] 
Merge pull request #229 from tolbrino/tb-patch-env

Add REBAR to environment before executing hooks

8 years agoMerge pull request #171 from fenollp/using-stdlib
Tristan Sloughter [Sat, 14 Jun 2014 00:24:58 +0000 (19:24 -0500)] 
Merge pull request #171 from fenollp/using-stdlib

Some optimisation/refactoring using stdlib's functions

8 years agoMerge pull request #119 from deadok22/qualified-test-spec
Tristan Sloughter [Sat, 14 Jun 2014 00:22:22 +0000 (19:22 -0500)] 
Merge pull request #119 from deadok22/qualified-test-spec

Add qualified name tests specification (see #118)

8 years agoMerge pull request #288 from tuncer/fix-176
Fred Hebert [Fri, 13 Jun 2014 12:42:37 +0000 (08:42 -0400)] 
Merge pull request #288 from tuncer/fix-176

Fix #176

8 years agoMerge pull request #136 from waisbrot/add-p4-support
Fred Hebert [Fri, 13 Jun 2014 12:42:21 +0000 (08:42 -0400)] 
Merge pull request #136 from waisbrot/add-p4-support

Add support for the Perforce VCS client via the "p4" tool

8 years agoRebasing. Fix differences with c26b0c7 c996e98 b690842.
Pierre Fenoll [Fri, 13 Jun 2014 12:29:54 +0000 (14:29 +0200)] 
Rebasing. Fix differences with c26b0c7 c996e98 b690842.

8 years agoLocal corrections on string processing:
Pierre Fenoll [Fri, 22 Nov 2013 15:23:54 +0000 (15:23 +0000)] 
Local corrections on string processing:

* Corrected regexp: `[x|y]` -> `[xy]`.
* Used an re:replace/4 option instead of multiple IOlist functions.

8 years agoMerge pull request #292 from matwey/namespaced_types
Tristan Sloughter [Wed, 11 Jun 2014 21:38:48 +0000 (16:38 -0500)] 
Merge pull request #292 from matwey/namespaced_types

Namespaced types: fix build for 17.0

8 years agoAdd erlang 17.0 to travis
Matwey V. Kornilov [Sat, 31 May 2014 12:45:27 +0000 (16:45 +0400)] 
Add erlang 17.0 to travis

8 years agoAdd namespaced_types to bootstrap script.
Matwey V. Kornilov [Thu, 5 Jun 2014 17:50:04 +0000 (21:50 +0400)] 
Add namespaced_types to bootstrap script.

8 years agoFix build for 17.0 using the solutiong proposed by @tsloughter
Matwey V. Kornilov [Sat, 31 May 2014 12:45:44 +0000 (16:45 +0400)] 
Fix build for 17.0 using the solutiong proposed by @tsloughter

We use namespaced_types option to choose between dict() and dict:dict() types.

8 years agoAdd REBAR to environment before executing hooks
Tino Breddin [Thu, 20 Feb 2014 09:56:37 +0000 (10:56 +0100)] 
Add REBAR to environment before executing hooks

REBAR will be set to the rebar binary which was executed and runs the
builds. Enables the use of the same binary for rebar invocations as
part of a pre or post hook like so:

    ${REBAR} escriptize

8 years agoMerge pull request #290 from tuncer/erlc-case-of
Tristan Sloughter [Fri, 30 May 2014 12:52:14 +0000 (07:52 -0500)] 
Merge pull request #290 from tuncer/erlc-case-of

erlc: replace if expression with case of

8 years agoerlc: replace if expression with case of
Tuncer Ayaz [Fri, 30 May 2014 12:33:23 +0000 (14:33 +0200)] 
erlc: replace if expression with case of

Motivated by the bug fix in 2c4d7d1.

8 years agoMerge pull request #289 from tuncer/semicolon-vs-comma
Fred Hebert [Fri, 30 May 2014 12:12:38 +0000 (08:12 -0400)] 
Merge pull request #289 from tuncer/semicolon-vs-comma

erlc: fix typo in update_erlcinfo/3 clause

8 years agoFix #249 (erlc regression)
Slava Yurin [Thu, 29 May 2014 11:43:23 +0000 (18:43 +0700)] 
Fix #249 (erlc regression)

The combination of changes to rebar_erlc_compiler, and the fact
that erl_first_files is inherited, caused a regression. To fix
that, ensure every project uses its own .rebar/erlcinfo. While at
it, fix the issue that erl_first_files entries were not included
when initializing the dep digraph.

Reported-by: Louis-Philippe Gauthier
Reported-by: Roland Karlsson
Thanks: Tuncer Ayaz

8 years agoerlc: fix typo in update_erlcinfo/3 clause
Tuncer Ayaz [Fri, 30 May 2014 11:52:29 +0000 (13:52 +0200)] 
erlc: fix typo in update_erlcinfo/3 clause

8 years agoRegression test for #249
Slava Yurin [Wed, 28 May 2014 07:05:26 +0000 (14:05 +0700)] 
Regression test for #249

8 years agouse the effective deps dir instead of hardcoding "deps"
YAMAMOTO Takashi [Fri, 30 May 2014 05:48:15 +0000 (14:48 +0900)] 
use the effective deps dir instead of hardcoding "deps"

suggested by @tuncer

8 years agofix double "the" in a comment
YAMAMOTO Takashi [Fri, 30 May 2014 05:38:39 +0000 (14:38 +0900)] 
fix double "the" in a comment

noted by @tuncer

8 years agoFix spec file look up
YAMAMOTO Takashi [Fri, 30 Aug 2013 09:16:09 +0000 (18:16 +0900)] 
Fix spec file look up

When trying to skip spec files under deps/ directory,
ignore "deps" component which is also included in Cwd.
For example, "/home/deps/src/myapp/test/cover.spec"
contains "deps" component but should not be skipped if
Cwd is "/home/deps/src/myapp/".

8 years agoFix a format of a debug output
YAMAMOTO Takashi [Fri, 30 Aug 2013 09:10:17 +0000 (18:10 +0900)] 
Fix a format of a debug output

8 years agoFix #176
Tuncer Ayaz [Thu, 29 May 2014 19:13:46 +0000 (21:13 +0200)] 
Fix #176

Extend CONTRIBUTING.md with regards to tests and credit.

8 years agoAdd qualified name tests specification (see #118)
Sergey Savenko [Thu, 15 Aug 2013 08:26:50 +0000 (12:26 +0400)] 
Add qualified name tests specification (see #118)

Augment 'tests' option of 'rebar eunit' command with ability to specify
tests to run using module-qualified names. This change also forced me
to change the way modules for coverage and for testing itself are
selected - module-qualified tests specifications are now taken into
consideration. Extend tests to cover new functionality. Update
dialyzer_reference accordingly.

8 years agoadding Alexander Verbitsky to THANKS file
Fred Hebert [Thu, 29 May 2014 18:31:34 +0000 (14:31 -0400)] 
adding Alexander Verbitsky to THANKS file

8 years agoMerge pull request #284 from habibutsu/master
Fred Hebert [Thu, 29 May 2014 17:44:11 +0000 (13:44 -0400)] 
Merge pull request #284 from habibutsu/master

Error 'Command not found' when sname is used

8 years agoMerge pull request #280 from talentdeficit/bettershell
Fred Hebert [Tue, 27 May 2014 12:10:23 +0000 (08:10 -0400)] 
Merge pull request #280 from talentdeficit/bettershell

improve output when using `rebar shell`

8 years agoError 'Command not found' when sname is used
Habibutsu [Tue, 27 May 2014 08:22:24 +0000 (11:22 +0300)] 
Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space

8 years agoimprove behaviour of `rebar shell`
alisdair sullivan [Tue, 20 May 2014 06:35:40 +0000 (06:35 +0000)] 
improve behaviour of `rebar shell`

attempt to emulate the behavior of
`erl -pa ebin -pa deps/*/ebin`

fix error messages and formatting issues of `rebar shell` by
shutting down and restarting the user subsystem in a mode more
hospitable to the shell than the simple user started when run
as an escript. emulate `error_logger` behaviour when the shell
is run via `erl`

add documentation of the shell command

limitations:

the erlang interrupt handler is not enabled when running as an
escript and there is no interface to re-enable it via erlang code.
this means `ctrl-c` will immediately exit the running process
unlike when running the shell via `erl`. `ctrl-g` is, however,
unaffected

the user subsystem is killed and restarted but not supervised. if
your code somehow relies on the user subsystem crashing and
restarting `rebar shell` may interfere with it's operation

8 years agoMove include/rebar.hrl to src/rebar.hrl
Tuncer Ayaz [Thu, 22 May 2014 09:54:26 +0000 (11:54 +0200)] 
Move include/rebar.hrl to src/rebar.hrl

rebar.hrl is only meant to be used by src/*.

8 years agoMerge pull request #52 from shino/slim-release-support
Jared Morrow [Wed, 21 May 2014 21:36:57 +0000 (15:36 -0600)] 
Merge pull request #52 from shino/slim-release-support

Slim release support

8 years agoUpdate release notes for 2.3.1 2.3.1
Jared Morrow [Wed, 21 May 2014 21:16:34 +0000 (15:16 -0600)] 
Update release notes for 2.3.1

8 years agoBump rebar version to 2.3.1
Jared Morrow [Wed, 21 May 2014 20:36:12 +0000 (14:36 -0600)] 
Bump rebar version to 2.3.1

8 years agoMerge pull request #251 from mururu/eunit_compile_opts
Jared Morrow [Mon, 19 May 2014 15:14:03 +0000 (09:14 -0600)] 
Merge pull request #251 from mururu/eunit_compile_opts

Make sure that eunit/qc_compile_opts works

8 years agoMerge pull request #244 from tuncer/missing-help
Jared Morrow [Mon, 19 May 2014 15:12:30 +0000 (09:12 -0600)] 
Merge pull request #244 from tuncer/missing-help

Document skip_apps=, apps=, and require_*_vsn

8 years agoMerge pull request #255 from tuncer/superfluous-quoting
Jared Morrow [Mon, 19 May 2014 15:11:24 +0000 (09:11 -0600)] 
Merge pull request #255 from tuncer/superfluous-quoting

rebar.app: remove superfluous quoting

8 years agoMerge pull request #274 from redpine50/broken_on_win
Jared Morrow [Mon, 19 May 2014 15:09:31 +0000 (09:09 -0600)] 
Merge pull request #274 from redpine50/broken_on_win

Use lowercase for Windows drive name to resolve issue #250

8 years agoMerge pull request #242 from tuncer/erlc-speedup-v5-fixup
Jared Morrow [Mon, 19 May 2014 15:06:20 +0000 (09:06 -0600)] 
Merge pull request #242 from tuncer/erlc-speedup-v5-fixup

Extra commits for #129

8 years agoRoll rebar version 2.3.0 2.3.0
Jared Morrow [Tue, 13 May 2014 15:01:26 +0000 (09:01 -0600)] 
Roll rebar version 2.3.0

8 years agoMake sure that eunit/qc_compile_opts works fix #245
Yuki Ito [Tue, 29 Apr 2014 09:36:33 +0000 (18:36 +0900)] 
Make sure that eunit/qc_compile_opts works fix #245

8 years agoDo not wrap base_dir with filename:absname()
redpine50 [Sat, 10 May 2014 05:09:54 +0000 (14:09 +0900)] 
Do not wrap base_dir with filename:absname()

base_dir() returns already filename:absname()'ed path.

8 years agoUpdate rebar_utils.erl
redpine50 [Wed, 7 May 2014 17:07:10 +0000 (02:07 +0900)] 
Update rebar_utils.erl

On windows, bootstrap.bat failed with next error.
Command 'escriptize' not understood or not applicable

This happens because the drive name in path got from rebar_utils:get_cwd() and base_dir(Config) are different case.
Made the drive name the same lowercase using filename:absname().

8 years agoMerge pull request #252 from tuncer/file_utils-errors
Jared Morrow [Thu, 24 Apr 2014 13:16:39 +0000 (07:16 -0600)] 
Merge pull request #252 from tuncer/file_utils-errors

file_utils: properly report errors (fix #95)

8 years agoMerge pull request #269 from goofansu/patch-1
Jared Morrow [Thu, 24 Apr 2014 13:15:29 +0000 (07:15 -0600)] 
Merge pull request #269 from goofansu/patch-1

Update THANKS

8 years agoMerge pull request #268 from tuncer/code-path-regression
Jared Morrow [Thu, 24 Apr 2014 13:15:10 +0000 (07:15 -0600)] 
Merge pull request #268 from tuncer/code-path-regression

Fix #267 (code path regression)

8 years agoFix #267 (code path regression)
Tuncer Ayaz [Sun, 20 Apr 2014 09:59:41 +0000 (11:59 +0200)] 
Fix #267 (code path regression)

Since the introduction of -r/--recursive, deps were not properly added
to the code path when running ct, eunit, etc.

To fix that, pass a flag down to process_dir1 and conditionalize
execution of the command. This moves the decision into process_dir1
where we can decide to invoke preprocess/2 and postprocess/2 but not
execute the command.

Without this fix, you'd have to, for example, invoke 'rebar -r ct
skip_deps=true', if you wanted to run base_dir's ct suites with deps on
the code path (while skipping all non-base_dir ct suites).

So, with this patch applied, if you run
$ rebar ct
deps will be on the code path, and only base_dir's ct suites will be
tested.

If you want to test ct suites in base_dir and sub_dirs, you have to run
$ rebar -r ct skip_deps=true

If you want to test ct suites in all dirs, you have to run
$ rebar -r ct

The fix is not specific to ct and applies to all commands.

To be able to add inttest/code_path_no_recurse/deps, I had to fix
.gitignore. While at it, I've updated and fixed all entries.

8 years agorebar_core: consistently order args and simplify code
Tuncer Ayaz [Sat, 19 Apr 2014 20:01:09 +0000 (22:01 +0200)] 
rebar_core: consistently order args and simplify code

* Fix arg order:
  The order of arguments got inconsistent over time. To fix that, use
  the same consistent order in all functions.

* Avoid one erlang:'++'/2 call in process_dir/6.

* Avoid lists:prefix/2 and atom_to_list/1 calls:
  We can easily avoid 2 lists:prefix/2 calls and one atom_to_list/1 call
  in execute/5 by passing in whether the command is a hook or not. The
  resulting code is simpler and easier to read.

8 years agoUpdate THANKS
goofansu [Fri, 18 Apr 2014 02:45:35 +0000 (10:45 +0800)] 
Update THANKS

Add my name to THANKS

8 years agoMerge pull request #265 from goofansu/fix-qc-help-clean
Jared Morrow [Wed, 16 Apr 2014 13:53:57 +0000 (07:53 -0600)] 
Merge pull request #265 from goofansu/fix-qc-help-clean

Fix 'rebar help clean' function_clause error

8 years agoFix 'rebar help clean' function_clause error
goofansu [Sat, 12 Apr 2014 05:04:36 +0000 (13:04 +0800)] 
Fix 'rebar help clean' function_clause error

Missing info(help, clean) in rebar_qc.erl.

8 years agoMerge pull request #254 from tuncer/fix-generate
Jared Morrow [Fri, 11 Apr 2014 15:19:01 +0000 (09:19 -0600)] 
Merge pull request #254 from tuncer/fix-generate

Fix 'rebar generate' regression (#253)

8 years agofile_utils: properly report errors (fix #95)
Tuncer Ayaz [Wed, 26 Mar 2014 17:41:59 +0000 (18:41 +0100)] 
file_utils: properly report errors (fix #95)

While at it, improve the error message printed by rebar_utils:sh/2.

8 years agoQuote include/lib paths
Dan Gudmundsson [Wed, 9 Apr 2014 19:16:41 +0000 (21:16 +0200)] 
Quote include/lib paths

In OTP-17.0 paths on windows are not shortpaths anymore
so they may contain spaces and parenthesis

8 years agoMerge pull request #237 from norton/norton-17
Andrew Thompson [Wed, 9 Apr 2014 15:39:24 +0000 (11:39 -0400)] 
Merge pull request #237 from norton/norton-17

Add partial support for Erlang/OTP 17

8 years agoFix 'rebar generate' regression (#253)
Tuncer Ayaz [Sun, 30 Mar 2014 17:47:31 +0000 (19:47 +0200)] 
Fix 'rebar generate' regression (#253)

If the directory we're about to process contains
reltool.config[.script] and the command to be applied is
'generate', then it's safe to process. We do this to retain the
behavior of specifying {sub_dirs, ["rel"]} and have "rebar generate"
pick up rel/reltool.config[.script]. Without this workaround you'd
have to run "rebar -r generate" (which you don't want to do if you
have deps or other sub_dirs) or "cd rel && rebar generate".

8 years agorebar.app: remove superfluous quoting
Tuncer Ayaz [Sun, 30 Mar 2014 17:46:47 +0000 (19:46 +0200)] 
rebar.app: remove superfluous quoting

8 years agoAdd partial support for Erlang/OTP 17
Joseph Wayne Norton [Sat, 1 Mar 2014 21:36:44 +0000 (15:36 -0600)] 
Add partial support for Erlang/OTP 17

Allow rebar to compile applications using Erlang/OTP 17 and older
versions.  This patch only provides partial support since the rebar
tool itself must be compiled using an Erlang/OTP version that is older
than 17.

8 years agoAdd 'p4' (Perforce) as a dependency type
Nathaniel Waisbrot [Tue, 17 Sep 2013 15:22:05 +0000 (11:22 -0400)] 
Add 'p4' (Perforce) as a dependency type

This calls the 'p4' command-line tool to checkout and sync Perforce
trees. It involves significantly more special code in Rebar than
using 'git p4', but it eliminates the indirection of
Rebar->Git->Python->Perforce

8 years agoDocument require_*_vsn options
Tuncer Ayaz [Mon, 10 Mar 2014 13:06:33 +0000 (14:06 +0100)] 
Document require_*_vsn options

8 years agoerlc: add test suite
Tuncer Ayaz [Wed, 5 Mar 2014 16:59:35 +0000 (17:59 +0100)] 
erlc: add test suite

8 years agoerlc: fixup log message
Tuncer Ayaz [Wed, 5 Mar 2014 18:45:22 +0000 (19:45 +0100)] 
erlc: fixup log message

Using the filename as a prefix is less readable and inconsistent with
the other log messages.

Before:

DEBUG: src/foo.erl depends on...

After:

DEBUG: Dependencies of src/foo.erl ...

8 years agoDocument skip_apps= and apps=
Tuncer Ayaz [Thu, 6 Mar 2014 19:21:54 +0000 (20:21 +0100)] 
Document skip_apps= and apps=

8 years agoMerge branch 'tuncer-auto-recursion'
Jared Morrow [Tue, 11 Mar 2014 21:26:15 +0000 (21:26 +0000)] 
Merge branch 'tuncer-auto-recursion'

8 years agoKeep compile recursive and update the tests to not pass -r to compile
Jared Morrow [Tue, 11 Mar 2014 21:23:16 +0000 (21:23 +0000)] 
Keep compile recursive and update the tests to not pass -r to compile

8 years agoFix #226
Tuncer Ayaz [Fri, 14 Feb 2014 20:12:02 +0000 (21:12 +0100)] 
Fix #226

Running 'rebar list-templates' can take quite a long time, when it has
to search the file system. To fix that, make list-templates not recurse
by default. To enable recursion, run 'rebar -r list-templates'.

8 years agoFix #56 (always-on recursion)
Tuncer Ayaz [Mon, 5 Nov 2012 19:08:48 +0000 (20:08 +0100)] 
Fix #56 (always-on recursion)

Always-on recursive application of all rebar commands causes too many
issues. Recursive application is required for:
1. dealing with dependencies: get-deps, update-deps, and compile of deps
   right after get-deps or update-deps
2. projects with a riak-like apps/ project structure and dev process

The vast majority of projects are not structured like riak. Therefore,
moving forward it's best to (by default) restrict recursive behavior to
dealing with deps. This commit does that and also adds command line and
rebar.config options for controlling or configuring recursion. Also, we
introduce two meta commands: prepare-deps (equivalent to rebar -r
get-deps compile) and refresh-deps (equivalent to rebar -r update-deps
compile). riak-like projects can extend the list of recursive commands
(to include 'eunit' and 'compile') by adding
{recursive_cmds, [eunit, compile]} to rebar.config.

8 years agoAdd TODO comment to install_upgrade script template
Shunichi Shinohara [Fri, 27 Dec 2013 07:54:20 +0000 (16:54 +0900)] 
Add TODO comment to install_upgrade script template

8 years agoChange nodetool path to under releases/<RELEASE_VERSION>/
Shunichi Shinohara [Sun, 13 Jan 2013 12:11:52 +0000 (21:11 +0900)] 
Change nodetool path to under releases/<RELEASE_VERSION>/

8 years agoAdd slim marker file as automatic overlay
Shunichi Shinohara [Sat, 20 Oct 2012 06:33:22 +0000 (15:33 +0900)] 
Add slim marker file as automatic overlay

8 years agoAdd slim release support for runner script
Shunichi Shinohara [Sat, 20 Oct 2012 05:22:43 +0000 (14:22 +0900)] 
Add slim release support for runner script

8 years agoMerge pull request #208 from goofansu/fix-typo-rebar-erlydtl-compiler
Jared Morrow [Thu, 6 Mar 2014 05:31:47 +0000 (22:31 -0700)] 
Merge pull request #208 from goofansu/fix-typo-rebar-erlydtl-compiler

Fix typo in rebar_erlydtl_compiler

8 years agoFix typo in rebar_erlydtl_compiler
goofansu [Thu, 6 Mar 2014 05:03:02 +0000 (13:03 +0800)] 
Fix typo in rebar_erlydtl_compiler

8 years agoMerge pull request #139 from rnewson/depmods
Jared Morrow [Wed, 5 Mar 2014 20:35:11 +0000 (13:35 -0700)] 
Merge pull request #139 from rnewson/depmods

Allow specification of module dependencies for appups

8 years agoMerge pull request #115 from mdaguete/simplenode.runner-remsh-fixes
Andrew Thompson [Wed, 5 Mar 2014 20:22:28 +0000 (15:22 -0500)] 
Merge pull request #115 from mdaguete/simplenode.runner-remsh-fixes

Incorrect REMSH args when sname is used.

8 years agoMerge pull request #234 from tuncer/fix-220
Andrew Thompson [Wed, 5 Mar 2014 19:54:27 +0000 (14:54 -0500)] 
Merge pull request #234 from tuncer/fix-220

Fix #220 (Reported-by: Joseph Norton)

8 years agoMerge pull request #98 from jcomellas/jc-no-erl-libs-repetition
Jared Morrow [Wed, 5 Mar 2014 19:52:43 +0000 (12:52 -0700)] 
Merge pull request #98 from jcomellas/jc-no-erl-libs-repetition

Repetition of environment variable definitions in child processes (ports)

8 years agoFix #220 (Reported-by: Joseph Norton)
Tuncer Ayaz [Tue, 25 Feb 2014 20:33:35 +0000 (21:33 +0100)] 
Fix #220 (Reported-by: Joseph Norton)

When running 'rebar qc' or 'rebar eunit', we were erroneously fetching
erl_opts more than once.

8 years agoerlc: fix comment
Tuncer Ayaz [Tue, 25 Feb 2014 20:07:56 +0000 (21:07 +0100)] 
erlc: fix comment

test_compile/3 is used by eunit and qc, but the comment was only
referring to 'rebar eunit'.

8 years agoMerge pull request #175 from tuncer/cwd-plugins-regression
Jared Morrow [Wed, 5 Mar 2014 19:08:00 +0000 (12:08 -0700)] 
Merge pull request #175 from tuncer/cwd-plugins-regression

CWD plugins regression

8 years agoMerge pull request #129 from tuncer/erlc-speedup-v5
Andrew Thompson [Wed, 5 Mar 2014 18:39:55 +0000 (13:39 -0500)] 
Merge pull request #129 from tuncer/erlc-speedup-v5

Speed up the compilation process v5

8 years agoerlc: clean-up, enhance, and regression fix fd17693
Tuncer Ayaz [Sun, 1 Sep 2013 17:34:29 +0000 (19:34 +0200)] 
erlc: clean-up, enhance, and regression fix fd17693

* update files
* fix Dialyzer warning
* unconditionally enable info fil
* clean-up inconsistencies
* use term_to_binary compression
* use try...catch instead of case...catch...of
* do not write build info file if the graph is unmodified
* store info file as <base_dir>/.rebarinfo
* properly support list of compile directives
* fix regressions:
 - Fix a bug in handling of files to compile first.
 - If a file that is depended upon itself depends on other files, make sure
   those are compiled first. While at it, rename variables for correctness.
Reported-by: David Robakowski
 - Make sure that FirstFiles has no dupes and preserves the proper order.
 - headers referenced via -include_lib() were not properly resolved to absolute
   filenames
 - .erl files found in sub dirs of src_dirs were not properly resolved to
   absolute filenames

8 years agoerlc: add support for detecting core transforms
Anthony Ramine [Tue, 25 Feb 2014 08:03:26 +0000 (09:03 +0100)] 
erlc: add support for detecting core transforms

8 years agoSpeed up the compilation process
Evgeniy Khramtsov [Mon, 1 Jul 2013 09:55:31 +0000 (19:55 +1000)] 
Speed up the compilation process

* Do not parse source files twice while checking for relationship.
* Keep files relationships in a graph.
* The option 'keep_build_info' is introduced. When set to 'true'
  the graph will be kept in ebin/.rebar.build.info and will be
  used by further compiler calls. The default is 'false'.

8 years agoMerge pull request #233 from tuncer/commands
Jared Morrow [Tue, 25 Feb 2014 21:56:13 +0000 (14:56 -0700)] 
Merge pull request #233 from tuncer/commands

docs: fix #228

8 years agodocs: fix #228
Tuncer Ayaz [Tue, 25 Feb 2014 18:46:49 +0000 (19:46 +0100)] 
docs: fix #228