couchdb-rebar.git
9 years agoBumping to 2.1.0-pre 2.1.0-pre
Dave Smith [Mon, 12 Nov 2012 15:19:44 +0000 (08:19 -0700)] 
Bumping to 2.1.0-pre

9 years agoMerge pull request #15 from rebar/dss-restore-ports
Dave Smith [Mon, 12 Nov 2012 14:55:00 +0000 (06:55 -0800)] 
Merge pull request #15 from rebar/dss-restore-ports

Restore support for so_name, port_envs and port_sources

9 years agoRestore support for so_name, port_envs and port_sources
Dave Smith [Sun, 11 Nov 2012 20:03:24 +0000 (13:03 -0700)] 
Restore support for so_name, port_envs and port_sources

9 years agoMerge pull request #14 from tuncer/fix-list-keysort-call
Dave Smith [Sun, 11 Nov 2012 00:57:14 +0000 (16:57 -0800)] 
Merge pull request #14 from tuncer/fix-list-keysort-call

Fix rebar_erlydtl_compiler:erlydtl_opts/1 and rebar:run/2

9 years agoFix Dialyzer warning in rebar:run/2
Tuncer Ayaz [Sat, 10 Nov 2012 20:49:19 +0000 (21:49 +0100)] 
Fix Dialyzer warning in rebar:run/2

9 years agorebar_erlydtl_compiler: fix incorrect lists:keysort/2 call
Tuncer Ayaz [Sat, 10 Nov 2012 20:49:52 +0000 (21:49 +0100)] 
rebar_erlydtl_compiler: fix incorrect lists:keysort/2 call

9 years agoMerge pull request #328 from saleyn/depcheck
Dave Smith [Sat, 10 Nov 2012 14:13:15 +0000 (06:13 -0800)] 
Merge pull request #328 from saleyn/depcheck

Fix erlydtl dependency check

9 years agoMerge pull request #327 from saleyn/erlydtl_compiler
Dave Smith [Sat, 10 Nov 2012 14:08:16 +0000 (06:08 -0800)] 
Merge pull request #327 from saleyn/erlydtl_compiler

Erlydtl compiler

9 years agoExpose Erlang API for invoking rebar
Dave Smith [Tue, 6 Nov 2012 15:40:41 +0000 (08:40 -0700)] 
Expose Erlang API for invoking rebar

9 years agoAdd comment to explain why we're using sub_dirs by hand
Dave Smith [Mon, 5 Nov 2012 13:17:56 +0000 (06:17 -0700)] 
Add comment to explain why we're using sub_dirs by hand

9 years agoAdd all subdirs to xref library path
Daniel Luna [Tue, 28 Aug 2012 17:22:57 +0000 (13:22 -0400)] 
Add all subdirs to xref library path

9 years agoAdd email address to my name
Daniel Luna [Tue, 28 Aug 2012 17:21:05 +0000 (13:21 -0400)] 
Add email address to my name

9 years agoMerge pull request #5 from tuncer/zsh-typos
Dave Smith [Thu, 1 Nov 2012 11:40:07 +0000 (04:40 -0700)] 
Merge pull request #5 from tuncer/zsh-typos

zsh completion: fix typos

9 years agoMerge branch 'master' of github.com:/basho/rebar
Dave Smith [Thu, 1 Nov 2012 11:39:22 +0000 (05:39 -0600)] 
Merge branch 'master' of github.com:/basho/rebar

9 years agozsh completion: fix typos
Tuncer Ayaz [Thu, 1 Nov 2012 10:58:38 +0000 (11:58 +0100)] 
zsh completion: fix typos

9 years agoMerge pull request #293 from Motiejus/skip_deps
Dave Smith [Thu, 1 Nov 2012 02:47:13 +0000 (19:47 -0700)] 
Merge pull request #293 from Motiejus/skip_deps

Add skip_deps=AppListSeparatedByCommas feature.

I agree it's a bit of a weird thing, but it's a reasonable and safe extension. When time comes to properly overhaul stuff, skip_deps should disappear entirely.

9 years agoMerge pull request #4 from shkumagai/feature/add-zsh-completion
Dave Smith [Thu, 1 Nov 2012 02:42:43 +0000 (19:42 -0700)] 
Merge pull request #4 from shkumagai/feature/add-zsh-completion

Add zsh completion script

9 years agoct: skip instead of halt on missing/unknown suite
Arjan Scherpenisse [Wed, 1 Aug 2012 18:47:47 +0000 (20:47 +0200)] 
ct: skip instead of halt on missing/unknown suite

This allows `rebar ct suites=abc` to consider all suites when
you have a rebar setup with multiple sub_dirs.

Previously, rebar halted after it could not find the suite in the
first dir. But the suite might be present in another dir (when
sub_dirs contains multiple dirs).

This commit makes it so instead of halting, it prints a warning and
continues with looking for the suite in the other `sub_dir`s.

Note -- This uses try/catch to cause the test to be skipped because
otherwise I needed to adjust the return values of 4 functions, the
code path is pretty deeply nested here. Otherwise the whole call chain
needed to be adjusted for this return value:

`run_test -> make_cmd -> get_suites -> find_suite_path`

IMHO, I think for exceptional cases like this it is fine to use throw;
specially since only the {skip} is catched and nothing else.

9 years agoAdd zsh completion script
Shoji KUMAGAI [Thu, 1 Nov 2012 01:47:13 +0000 (10:47 +0900)] 
Add zsh completion script

For enable to shell-completion in zsh.

9 years agoUpdate travis-ci link.
Dave Smith [Wed, 31 Oct 2012 12:14:05 +0000 (06:14 -0600)] 
Update travis-ci link.

9 years agoUpdating .travis.yml for new primary repo
Dave Smith [Wed, 31 Oct 2012 12:11:11 +0000 (06:11 -0600)] 
Updating .travis.yml for new primary repo

9 years agoVarious updates for README to reflect new home for rebar
Dave Smith [Wed, 31 Oct 2012 03:51:46 +0000 (21:51 -0600)] 
Various updates for README to reflect new home for rebar

9 years agoMerge remote-tracking branch 'basho/master'
Dave Smith [Wed, 31 Oct 2012 03:26:54 +0000 (21:26 -0600)] 
Merge remote-tracking branch 'basho/master'

9 years agoMerge pull request #243 from evanmcc/pevm_min_otp_version
Dave Smith [Wed, 31 Oct 2012 02:23:08 +0000 (19:23 -0700)] 
Merge pull request #243 from evanmcc/pevm_min_otp_version

Add support for minimum OTP versions

9 years agoMerge pull request #1 from tuncer/ta-old-arch_string
Dave Smith [Mon, 29 Oct 2012 15:56:37 +0000 (08:56 -0700)] 
Merge pull request #1 from tuncer/ta-old-arch_string

Revert arch string changes

9 years agoRevert arch string changes
Tuncer Ayaz [Mon, 29 Oct 2012 14:33:16 +0000 (15:33 +0100)] 
Revert arch string changes

9 years agoFix erlydtl dependency check
Serge Aleynikov [Thu, 25 Oct 2012 03:15:54 +0000 (07:15 +0400)] 
Fix erlydtl dependency check

When a DTL template includes other template files, those files don't need
to be compiled separately, and therefore can be given an extension different
from `source_ext` (such as `.dtli`) to avoid being compiled.  This fix
allows rebar to find included dependencies with names `*.dtl*` rather
than `*.dtl` and properly determine if a template file needs to be recompiled.

9 years agoAdd Magnus Henoch to THANKS
Tuncer Ayaz [Mon, 22 Oct 2012 20:10:29 +0000 (22:10 +0200)] 
Add Magnus Henoch to THANKS

9 years agoFix rebar_base_compiler:format_errors/3 for errors in include files
Magnus Henoch [Mon, 9 Jul 2012 10:40:21 +0000 (11:40 +0100)] 
Fix rebar_base_compiler:format_errors/3 for errors in include files

Handle the case where the error didn't occur in the file being
compiled.  That is, if there is an error on line 9 of bar.hrl,
instead of:

/path/to/foo.erl:9: type foo() already defined

print:

/path/to/bar.hrl:9: type foo() already defined

9 years agoMade more readable printout of the erlydtl compiler message
Serge Aleynikov [Wed, 17 Oct 2012 14:16:55 +0000 (10:16 -0400)] 
Made more readable printout of the erlydtl compiler message

The printed message is made more terse.

Example before applying patch:

    ERROR: Compiling template src/view/test.dtl failed:
      {error,{"src/view/test.dtl",
              [{{4,7},
                erlydtl_parser,
                ["syntax error before: ",["\"\\\"HELLO_WORLD\\\"\""]]}]}}

Example after applying patch:

    ERROR: Compiling template "src/cmp_html_error_template.dtl" failed:
        (line:3, col:12): ["syntax error before: ",["trans"]]

9 years agoSpecify multiple locations of DTL template files
Serge Aleynikov [Sun, 21 Oct 2012 02:13:35 +0000 (06:13 +0400)] 
Specify multiple locations of DTL template files

Added a backward compartible feature to specify `erlydtl_opts' options
for the DTL template compiler to allow inclusion of templates in different
directories with different compilation settings for each. E.g.:

    {erlydtl_opts, [
          [{doc_root, "src/view"}, {module_ext, "_dtl_vw"}]
        , [{doc_root, "src"},      {module_ext, ""}, {recursive, false}]

        , {out_dir,   "ebin"}
        , {compiler_options, [verbose, debug_info]}
    ]}.

The definition above is identical to this (the last two options
are duplicated in each list):

    {erlydtl_opts, [
          [{doc_root,   "src/view"}
          ,{module_ext, "_dtl_vw"}
          ,{out_dir,    "ebin"}
          ,{compiler_options, [verbose, debug_info]}]

        , [{doc_root,   "src"}
          ,{module_ext, ""}
          ,{out_dir,    "ebin"}
          ,{compiler_options, [verbose, debug_info]}
          ,{recursive, false}]
    ]}.

In this case "src/view" and "src" directories containing template files
will be compiled.  A new `recursive' option tells rebar_erlydtl_compiler
to search files recursively from a given doc_root.  In the example above
the "src" directory won't be scanned recursively, and the target template
name for target beam modules won't have "_dtl_vw" suffix.

9 years agoMerge pull request #217 from alavrik/raw_deps_new
Dave Smith [Sun, 21 Oct 2012 18:22:51 +0000 (11:22 -0700)] 
Merge pull request #217 from alavrik/raw_deps_new

Add support for non-Erlang/OTP (raw) dependencies

9 years agoAdding Serge Aleynikov to THANKS
Dave Smith [Sun, 21 Oct 2012 01:52:44 +0000 (19:52 -0600)] 
Adding Serge Aleynikov to THANKS

9 years agoMerge pull request #325 from saleyn/reltool
Dave Smith [Sat, 20 Oct 2012 19:06:04 +0000 (12:06 -0700)] 
Merge pull request #325 from saleyn/reltool

Fix return value of rebar_overlay

9 years agoMerge pull request #326 from saleyn/hostname_var
Dave Smith [Sat, 20 Oct 2012 18:50:34 +0000 (11:50 -0700)] 
Merge pull request #326 from saleyn/hostname_var

Add hostname variable to reltool overlay templates

9 years agoFix return value of rebar:overlay/2
serge [Thu, 18 Oct 2012 02:29:52 +0000 (22:29 -0400)] 
Fix return value of rebar:overlay/2

When 'rebar overlay' is run rebar_core got a wrong result
{Config, ok} from rebar_reltool instead of {ok, Config}.

9 years agoAdd hostname variable to reltool overlay templates
serge [Tue, 16 Oct 2012 20:12:30 +0000 (16:12 -0400)] 
Add hostname variable to reltool overlay templates

9 years agoAdd support for non-Erlang/OTP (raw) dependencies
Anton Lavrik [Thu, 11 Oct 2012 05:19:32 +0000 (00:19 -0500)] 
Add support for non-Erlang/OTP (raw) dependencies

Introduce a new 'raw' option for dependency specs in rebar.config file.
For example:

{deps,
    {dependency_name, "1.0.*",
 {git, "<...>", {branch, "master"}},
 [raw]
    }
]}.

When this option is specified, rebar does not require the dependency to
have a standard Erlang/OTP layout which assumes presence of either
"src/dependency_name.app.src" or "ebin/dependency_name.app" files.

'raw' dependencies can still contain 'rebar.config' and even can have
the proper OTP directory layout, but they won't be compiled.

Only a subset of rebar commands will be executed on the 'raw'
subdirectories:

get-deps, update-deps, check-deps, list-deps and delete-deps.

9 years agorebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)
Tuncer Ayaz [Wed, 3 Oct 2012 10:28:19 +0000 (12:28 +0200)] 
rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)

9 years agonoshell/noinput should NOT be the default emulator args for an escript
Dave Smith [Wed, 3 Oct 2012 02:17:09 +0000 (20:17 -0600)] 
noshell/noinput should NOT be the default emulator args for an escript

9 years agoFix whitespace errors
Tuncer Ayaz [Fri, 28 Sep 2012 21:37:18 +0000 (23:37 +0200)] 
Fix whitespace errors

9 years agoAdd Martin Schut to THANKS file
Tuncer Ayaz [Fri, 28 Sep 2012 21:37:06 +0000 (23:37 +0200)] 
Add Martin Schut to THANKS file

9 years agodeps: add fossil scm support
Martin Schut [Wed, 19 Sep 2012 19:24:51 +0000 (21:24 +0200)] 
deps: add fossil scm support

9 years agoFix fprof use (-p/--profile)
Tuncer Ayaz [Wed, 26 Sep 2012 20:17:44 +0000 (22:17 +0200)] 
Fix fprof use (-p/--profile)

9 years agoRevert 15b7798e4 and restore old git-describe call
Tuncer Ayaz [Fri, 21 Sep 2012 15:20:03 +0000 (17:20 +0200)] 
Revert 15b7798e4 and restore old git-describe call

Restore previous 'git describe' behaviour as discussed here:
http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html

9 years agoAdd Daniel White to THANKS file
Tuncer Ayaz [Thu, 20 Sep 2012 16:32:28 +0000 (18:32 +0200)] 
Add Daniel White to THANKS file

9 years agoMerge pull request #316 from danielwhite/document-rsync-feature
Dave Smith [Thu, 20 Sep 2012 12:20:47 +0000 (05:20 -0700)] 
Merge pull request #316 from danielwhite/document-rsync-feature

Document availability of rsync for fetching deps in rebar.config.sample

9 years agoDocument availability of rsync for fetching deps in rebar.config.sample
Daniel White [Thu, 20 Sep 2012 05:02:24 +0000 (15:02 +1000)] 
Document availability of rsync for fetching deps in rebar.config.sample

9 years agorebar_deps: fix whitespace errors
Tuncer Ayaz [Sat, 15 Sep 2012 17:05:15 +0000 (19:05 +0200)] 
rebar_deps: fix whitespace errors

9 years agoRestore ability to specify deps_dir on the command line
Yurii Rashkovskii [Wed, 12 Sep 2012 07:39:52 +0000 (00:39 -0700)] 
Restore ability to specify deps_dir on the command line

It was previously possible to run `rebar compile deps_dir=/path/to/deps`,
but as of 70d27c5720331076f52e4fd7bcd1dc8045c8c86a, it was nixed.

9 years agoeunit: analyze coverage only for cover compiled modules
Shunichi Shinohara [Wed, 12 Sep 2012 15:05:59 +0000 (00:05 +0900)] 
eunit: analyze coverage only for cover compiled modules

This change fixes #310.

9 years agoxref: allow multiple behaviours and ignore_xref pragmas
Daniel Luna [Thu, 13 Sep 2012 20:07:18 +0000 (16:07 -0400)] 
xref: allow multiple behaviours and ignore_xref pragmas

9 years agoAllow script to be evaluated when app file is loaded
Eric Merritt [Fri, 7 Sep 2012 20:47:23 +0000 (15:47 -0500)] 
Allow script to be evaluated when app file is loaded

This allows an <app-name>.app.src.script to be defined and evaluated
when <app-name>.app.src or <app-name>.app are loaded. This allows the
user to add project specific manipulations to app metadata.

9 years agoUse R15B02 EUnit {test,M,F} primitive as suggested by Richard Carlsson
Tuncer Ayaz [Mon, 3 Sep 2012 20:36:53 +0000 (22:36 +0200)] 
Use R15B02 EUnit {test,M,F} primitive as suggested by Richard Carlsson

9 years agoCorrectly use release_handler:create_RELEASES
joewilliams [Thu, 30 Aug 2012 19:05:58 +0000 (12:05 -0700)] 
Correctly use release_handler:create_RELEASES

9 years agoUpdate custom xref query
Tuncer Ayaz [Tue, 4 Sep 2012 14:56:15 +0000 (16:56 +0200)] 
Update custom xref query

9 years agoAdd Ryan Zezeski to THANKS file
Tuncer Ayaz [Mon, 3 Sep 2012 10:10:35 +0000 (12:10 +0200)] 
Add Ryan Zezeski to THANKS file

9 years agoPass compile flags to protobuffs
Ryan Zezeski [Mon, 3 Sep 2012 02:30:58 +0000 (22:30 -0400)] 
Pass compile flags to protobuffs

By default protobuffs doesn't create beams with debug info.  This
causes issues when running dialyzer which requires debug info.  Read
the `erl_opts` config and pass it down to protobuffs compiler.

9 years agoFix inttest/ct2 ct spec file location (Thanks Peter Andersson)
Tuncer Ayaz [Mon, 3 Sep 2012 09:39:51 +0000 (11:39 +0200)] 
Fix inttest/ct2 ct spec file location (Thanks Peter Andersson)

The DirRef in the spec file is relative to the directory where the spec
file is located. ct2_rt was erroneously copying the spec file to test/.

9 years agointtest/ct2: enable rebar DEBUG log level
Tuncer Ayaz [Mon, 3 Sep 2012 09:40:18 +0000 (11:40 +0200)] 
inttest/ct2: enable rebar DEBUG log level

9 years agorebar_ct: ?DEBUG log ct_run command
Tuncer Ayaz [Sun, 2 Sep 2012 19:49:18 +0000 (21:49 +0200)] 
rebar_ct: ?DEBUG log ct_run command

9 years agorebar_ct: do not export variable from case
Tuncer Ayaz [Sun, 2 Sep 2012 19:30:15 +0000 (21:30 +0200)] 
rebar_ct: do not export variable from case

9 years agoUpdate port_env for Mountain Lion (Noticed-by: Tony Rogvall)
Tuncer Ayaz [Sat, 1 Sep 2012 09:13:34 +0000 (11:13 +0200)] 
Update port_env for Mountain Lion (Noticed-by: Tony Rogvall)

9 years agoComment eunit_test:function_wrapper/2 TODO
Tuncer Ayaz [Sat, 1 Sep 2012 09:11:24 +0000 (11:11 +0200)] 
Comment eunit_test:function_wrapper/2 TODO

9 years agoUpdate custom xref query (eunit_test calls)
Tuncer Ayaz [Fri, 31 Aug 2012 20:20:22 +0000 (22:20 +0200)] 
Update custom xref query (eunit_test calls)

eunit_test:function_wrapper/2 was renamed to eunit:mf_wrapper/2 in
R15B02. Ignore both calls like we do with escript:foldl/3.

9 years agorebar_eunit: adapt to R15B02 changes
Tuncer Ayaz [Fri, 31 Aug 2012 20:07:42 +0000 (22:07 +0200)] 
rebar_eunit: adapt to R15B02 changes

9 years agorebar_reltool: remove blank lines
Tuncer Ayaz [Thu, 30 Aug 2012 20:20:02 +0000 (22:20 +0200)] 
rebar_reltool: remove blank lines

9 years agoAdd Dmitriy Kargapolov to THANKS file
Tuncer Ayaz [Thu, 30 Aug 2012 20:18:33 +0000 (22:18 +0200)] 
Add Dmitriy Kargapolov to THANKS file

9 years agoAdd dynamic .script support for overlay vars file
Dmitriy Kargapolov [Mon, 14 May 2012 17:54:04 +0000 (13:54 -0400)] 
Add dynamic .script support for overlay vars file

9 years agoAdd Markus Nasman to THANKS file
Tuncer Ayaz [Thu, 30 Aug 2012 11:39:06 +0000 (13:39 +0200)] 
Add Markus Nasman to THANKS file

9 years agoStop cover server between eunit runs for speed
Markus Näsman [Tue, 28 Aug 2012 11:46:54 +0000 (13:46 +0200)] 
Stop cover server between eunit runs for speed

Cover gets slower and slower for each application. This is due to the
cover_server internal state. Stopping the cover server between
eunit+cover runs, emptying the cover_server state, gives a ~5-6x speed
improvement when analyzing many Erlang modules. Stopping the cover
server replaces the earlier practice of doing a cover:reset before each
run. On a project consisting of 62 dependencies with a total of 1866
Erlang modules the running time of rebar eunit decreased from ~20
minutes to ~3 minutes.

9 years agoFix whitespace error in rebar_eunit
Tuncer Ayaz [Wed, 22 Aug 2012 17:17:17 +0000 (19:17 +0200)] 
Fix whitespace error in rebar_eunit

9 years agoFix whitespace errors in rebar_ct and rebar_eunit
Tuncer Ayaz [Wed, 22 Aug 2012 17:14:35 +0000 (19:14 +0200)] 
Fix whitespace errors in rebar_ct and rebar_eunit

9 years agoCleanup and comment
Tuncer Ayaz [Mon, 20 Aug 2012 11:55:55 +0000 (13:55 +0200)] 
Cleanup and comment

9 years agoFix tests= option not running generator tests
Roberto Ostinelli [Sun, 19 Aug 2012 22:28:03 +0000 (15:28 -0700)] 
Fix tests= option not running generator tests

9 years agoAdd experimental tests= filter without eunit suites
Roberto Ostinelli [Sun, 19 Aug 2012 21:23:06 +0000 (14:23 -0700)] 
Add experimental tests= filter without eunit suites

9 years agoFix #295 (consider *_SUITE.beam in ct skip check)
Tuncer Ayaz [Sun, 19 Aug 2012 13:25:13 +0000 (15:25 +0200)] 
Fix #295 (consider *_SUITE.beam in ct skip check)

9 years agointtest: remove superfluous blank lines
Tuncer Ayaz [Sat, 18 Aug 2012 17:36:28 +0000 (19:36 +0200)] 
inttest: remove superfluous blank lines

9 years agointtest: fix whitespace errors
Tuncer Ayaz [Sat, 18 Aug 2012 17:29:29 +0000 (19:29 +0200)] 
inttest: fix whitespace errors

9 years agoAdd Joe DeVivo to THANKS file
Tuncer Ayaz [Sat, 18 Aug 2012 15:19:01 +0000 (17:19 +0200)] 
Add Joe DeVivo to THANKS file

9 years agoFix whitespace error
Tuncer Ayaz [Sat, 18 Aug 2012 15:18:15 +0000 (17:18 +0200)] 
Fix whitespace error

9 years agoAdd erlc override from erl_opts: outdir
Joe DeVivo [Fri, 17 Aug 2012 21:32:07 +0000 (14:32 -0700)] 
Add erlc override from erl_opts: outdir

9 years agobootstrap: fix and enhance VCS_INFO handling
Tuncer Ayaz [Sun, 12 Aug 2012 18:14:27 +0000 (20:14 +0200)] 
bootstrap: fix and enhance VCS_INFO handling

* re-compile rebar.erl instead of rebar_core to define VCS_INFO
* append "-dirty" if vcs indicates unclean repo status

9 years agoUpdate .gitignore (add .eunit and deps)
Tuncer Ayaz [Sun, 12 Aug 2012 22:00:53 +0000 (00:00 +0200)] 
Update .gitignore (add .eunit and deps)

9 years agoClarify comments
Tuncer Ayaz [Sun, 12 Aug 2012 12:03:44 +0000 (14:03 +0200)] 
Clarify comments

9 years agoAdd Roberto Ostinelli to THANKS file
Tuncer Ayaz [Sat, 11 Aug 2012 21:11:50 +0000 (23:11 +0200)] 
Add Roberto Ostinelli to THANKS file

9 years agorebar_eunit: add tests= TODO item
Tuncer Ayaz [Sat, 11 Aug 2012 21:10:06 +0000 (23:10 +0200)] 
rebar_eunit: add tests= TODO item

9 years agoAdd experimental tests= filter for eunit suites
Roberto Ostinelli [Sun, 29 Jul 2012 00:04:50 +0000 (17:04 -0700)] 
Add experimental tests= filter for eunit suites

9 years agoChange escript zip archive creation as suggested by Siri Hansen
Tuncer Ayaz [Tue, 10 Jul 2012 10:48:43 +0000 (12:48 +0200)] 
Change escript zip archive creation as suggested by Siri Hansen

1. manually insert directory entries to work around issues fixed in
   R15B02 erl_prim_loader
2. put the escript archive's beams in appname/appname/ebin

Tested with R13B03 and R15B01.

9 years agoNew upstream mustache.erl
Tuncer Ayaz [Sat, 11 Aug 2012 13:04:09 +0000 (15:04 +0200)] 
New upstream mustache.erl

9 years agorebar_eunit: fix typo
Tuncer Ayaz [Fri, 10 Aug 2012 14:05:00 +0000 (16:05 +0200)] 
rebar_eunit: fix typo

9 years agorebar_utils: refactor get_experimental and get_deprecated funs
Tuncer Ayaz [Fri, 10 Aug 2012 12:27:23 +0000 (14:27 +0200)] 
rebar_utils: refactor get_experimental and get_deprecated funs

9 years agorebar_qc: ensure_dir/1 the same way as in rebar_eunit
Tuncer Ayaz [Thu, 9 Aug 2012 16:43:28 +0000 (18:43 +0200)] 
rebar_qc: ensure_dir/1 the same way as in rebar_eunit

9 years agoUse separate dirs for eunit and qc
Tuncer Ayaz [Thu, 9 Aug 2012 16:37:26 +0000 (18:37 +0200)] 
Use separate dirs for eunit and qc

9 years agoFix rebar_core:restore_code_path (Reported-by: Siri Hansen)
Tuncer Ayaz [Thu, 9 Aug 2012 14:15:10 +0000 (16:15 +0200)] 
Fix rebar_core:restore_code_path (Reported-by: Siri Hansen)

Use erl_prim_loader:read_file_info instead of filelib:is_file to make
sure paths inside the escript archive are handled properly.

9 years agorebar_utils: fix whitespace error
Tuncer Ayaz [Thu, 9 Aug 2012 14:14:42 +0000 (16:14 +0200)] 
rebar_utils: fix whitespace error

9 years agobash completion: remove duplicate cmd
Tuncer Ayaz [Thu, 9 Aug 2012 13:16:22 +0000 (15:16 +0200)] 
bash completion: remove duplicate cmd

9 years agoSeparate eunit and qc compile options
Tuncer Ayaz [Thu, 9 Aug 2012 11:58:32 +0000 (13:58 +0200)] 
Separate eunit and qc compile options

9 years agoReplace test-compile with compile_only=true option
Tuncer Ayaz [Thu, 9 Aug 2012 11:25:01 +0000 (13:25 +0200)] 
Replace test-compile with compile_only=true option

9 years agoFix version string
Tuncer Ayaz [Thu, 9 Aug 2012 11:04:08 +0000 (13:04 +0200)] 
Fix version string