serge
2d5bd56605
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}.
2012-10-20 13:32:30 +04:00
serge
3de9167d99
Add hostname variable to reltool overlay templates
2012-10-20 03:05:42 +04:00
Anton Lavrik
0b833391ed
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.
2012-10-11 02:06:08 -05:00
Tuncer Ayaz
32e67ef55e
rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)
2012-10-03 12:28:19 +02:00
Dave Smith
8ff99f98b3
noshell/noinput should NOT be the default emulator args for an escript
2012-10-02 20:17:09 -06:00
Tuncer Ayaz
2829741a38
Fix whitespace errors
2012-09-28 23:37:18 +02:00
Martin Schut
fbbeb360a5
deps: add fossil scm support
2012-09-28 23:34:53 +02:00
Tuncer Ayaz
f4e55b8463
Fix fprof use (-p/--profile)
2012-09-26 22:18:35 +02:00
Tuncer Ayaz
1b52a597c4
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
2012-09-21 17:20:03 +02:00
Tuncer Ayaz
9521586bdd
rebar_deps: fix whitespace errors
2012-09-15 19:05:15 +02:00
Yurii Rashkovskii
9a57e06015
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 70d27c5720
, it was nixed.
2012-09-15 18:58:02 +02:00
Shunichi Shinohara
22b703efa8
eunit: analyze coverage only for cover compiled modules
...
This change fixes #310 .
2012-09-13 22:30:30 +02:00
Daniel Luna
7bd318c219
xref: allow multiple behaviours and ignore_xref pragmas
2012-09-13 22:20:55 +02:00
Eric Merritt
eaad535e31
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.
2012-09-07 22:53:50 +02:00
Tuncer Ayaz
e0bc55db33
Use R15B02 EUnit {test,M,F} primitive as suggested by Richard Carlsson
2012-09-06 00:50:46 +02:00
joewilliams
29492dd0e8
Correctly use release_handler:create_RELEASES
2012-09-04 18:43:22 +02:00
Ryan Zezeski
e7be6874d7
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.
2012-09-03 12:10:14 +02:00
Tuncer Ayaz
d22a2bb81f
rebar_ct: ?DEBUG log ct_run command
2012-09-03 11:40:53 +02:00
Tuncer Ayaz
f460eb14bc
rebar_ct: do not export variable from case
2012-09-02 21:30:59 +02:00
Tuncer Ayaz
f0bf3503cb
Update port_env for Mountain Lion (Noticed-by: Tony Rogvall)
2012-09-01 11:13:34 +02:00
Tuncer Ayaz
f22337b68f
Comment eunit_test:function_wrapper/2 TODO
2012-09-01 11:11:24 +02:00
Tuncer Ayaz
8aadd65a34
rebar_eunit: adapt to R15B02 changes
2012-08-31 22:07:42 +02:00
Tuncer Ayaz
3cc8fb2855
rebar_reltool: remove blank lines
2012-08-30 22:20:02 +02:00
Dmitriy Kargapolov
9c7259d8a2
Add dynamic .script support for overlay vars file
2012-08-30 22:18:09 +02:00
Markus Näsman
2d139ea6c2
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.
2012-08-30 17:27:43 +02:00
Tuncer Ayaz
ff8337f9b0
Fix whitespace error in rebar_eunit
2012-08-22 19:17:17 +02:00
Tuncer Ayaz
f528c397f8
Fix whitespace errors in rebar_ct and rebar_eunit
2012-08-22 19:14:35 +02:00
Tuncer Ayaz
3c0d97bf2c
Cleanup and comment
2012-08-20 13:55:55 +02:00
Roberto Ostinelli
60516dc406
Fix tests= option not running generator tests
2012-08-20 12:58:34 +02:00
Roberto Ostinelli
fa6618f2b4
Add experimental tests= filter without eunit suites
2012-08-20 12:58:31 +02:00
Tuncer Ayaz
9dd8e7f2ee
Fix #295 (consider *_SUITE.beam in ct skip check)
2012-08-19 15:25:13 +02:00
Tuncer Ayaz
6c1694980c
Fix whitespace error
2012-08-18 17:19:42 +02:00
Joe DeVivo
991e2ce8e1
Add erlc override from erl_opts: outdir
2012-08-18 17:19:23 +02:00
Tuncer Ayaz
fc7df16e31
Clarify comments
2012-08-12 14:03:44 +02:00
Tuncer Ayaz
bdee72fae8
rebar_eunit: add tests= TODO item
2012-08-11 23:10:06 +02:00
Roberto Ostinelli
69dc9ec933
Add experimental tests= filter for eunit suites
2012-08-11 23:08:21 +02:00
Tuncer Ayaz
563607bc02
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.
2012-08-11 18:47:25 +02:00
Tuncer Ayaz
795f9345a7
New upstream mustache.erl
2012-08-11 15:04:09 +02:00
Tuncer Ayaz
5d6b82390f
rebar_eunit: fix typo
2012-08-10 16:05:00 +02:00
Tuncer Ayaz
8f3873e061
rebar_utils: refactor get_experimental and get_deprecated funs
2012-08-10 14:28:42 +02:00
Tuncer Ayaz
75a6de27e7
rebar_qc: ensure_dir/1 the same way as in rebar_eunit
2012-08-09 18:44:08 +02:00
Tuncer Ayaz
e47d643ea3
Use separate dirs for eunit and qc
2012-08-09 18:37:26 +02:00
Tuncer Ayaz
b5e0d6d5db
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.
2012-08-09 16:15:10 +02:00
Tuncer Ayaz
16091f9934
rebar_utils: fix whitespace error
2012-08-09 16:14:42 +02:00
Tuncer Ayaz
99b645e4a3
Separate eunit and qc compile options
2012-08-09 14:04:53 +02:00
Tuncer Ayaz
803f6e8ecd
Replace test-compile with compile_only=true option
2012-08-09 14:04:53 +02:00
Motiejus Jakštys
8f01d0de60
Add skip_deps=AppListSeparatedByCommas feature
2012-08-09 09:48:16 +02:00
Tuncer Ayaz
e5569e6862
rebar_qc: use lists:flatmap/2
2012-08-08 23:28:00 +02:00
Tuncer Ayaz
3f2ad54ebc
rebar_qc: fix #292 (Reported-by: Brian L. Troutwine)
2012-08-08 23:27:47 +02:00
Lev Walkin
f2f294d812
Do not rewrite .app file if it didn't change
2012-08-08 00:52:54 +02:00