summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ct: skip instead of halt on missing/unknown suiteArjan Scherpenisse2012-10-311-3/+10
| | | | | | | | | | | | | | | | | | | | | | 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.
* Merge remote-tracking branch 'basho/master'Dave Smith2012-10-301-0/+29
|\
| * Merge pull request #243 from evanmcc/pevm_min_otp_versionDave Smith2012-10-301-0/+29
| |\ | | | | | | Add support for minimum OTP versions
| | * Add support for minimum OTP versions.Evan Vigil-McClanahan2012-06-211-0/+29
| | | | | | | | | | | | | | | | | | | | | Since you can't really do math with regexps and it's a pain to repeatedly update the config for each new version or erlang, I wanted to add support for minium OTP versions. This is a fix for https://github.com/basho/riaknostic/issues/38
* | | Revert arch string changesTuncer Ayaz2012-10-291-6/+1
|/ /
* | Fix rebar_base_compiler:format_errors/3 for errors in include filesMagnus Henoch2012-10-221-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #217 from alavrik/raw_deps_newDave Smith2012-10-211-13/+47
|\ \ | | | | | | Add support for non-Erlang/OTP (raw) dependencies
| * | Add support for non-Erlang/OTP (raw) dependenciesAnton Lavrik2012-10-111-13/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #325 from saleyn/reltoolDave Smith2012-10-201-1/+1
|\ \ \ | | | | | | | | Fix return value of rebar_overlay
| * | | Fix return value of rebar:overlay/2serge2012-10-201-1/+1
| |/ / | | | | | | | | | | | | When 'rebar overlay' is run rebar_core got a wrong result {Config, ok} from rebar_reltool instead of {ok, Config}.
* | | Add hostname variable to reltool overlay templatesserge2012-10-201-1/+2
|/ /
* | rebar_edoc: use correct proplist() type (Reported-by: Kostis Sagonas)Tuncer Ayaz2012-10-031-1/+1
| |
* | noshell/noinput should NOT be the default emulator args for an escriptDave Smith2012-10-021-1/+1
| |
* | Fix whitespace errorsTuncer Ayaz2012-09-282-2/+4
| |
* | deps: add fossil scm supportMartin Schut2012-09-282-13/+39
| |
* | Fix fprof use (-p/--profile)Tuncer Ayaz2012-09-261-4/+3
| |
* | Revert 15b7798e4 and restore old git-describe callTuncer Ayaz2012-09-211-11/+1
| | | | | | | | | | Restore previous 'git describe' behaviour as discussed here: http://lists.basho.com/pipermail/rebar_lists.basho.com/2012-September/001713.html
* | rebar_deps: fix whitespace errorsTuncer Ayaz2012-09-151-3/+3
| |
* | Restore ability to specify deps_dir on the command lineYurii Rashkovskii2012-09-151-1/+2
| | | | | | | | | | It was previously possible to run `rebar compile deps_dir=/path/to/deps`, but as of 70d27c5720331076f52e4fd7bcd1dc8045c8c86a, it was nixed.
* | eunit: analyze coverage only for cover compiled modulesShunichi Shinohara2012-09-131-1/+3
| | | | | | | | This change fixes #310.
* | xref: allow multiple behaviours and ignore_xref pragmasDaniel Luna2012-09-131-12/+6
| |
* | Allow script to be evaluated when app file is loadedEric Merritt2012-09-071-1/+23
| | | | | | | | | | | | 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.
* | Use R15B02 EUnit {test,M,F} primitive as suggested by Richard CarlssonTuncer Ayaz2012-09-061-14/+20
| |
* | Correctly use release_handler:create_RELEASESjoewilliams2012-09-041-3/+15
| |
* | Pass compile flags to protobuffsRyan Zezeski2012-09-031-6/+8
| | | | | | | | | | | | 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.
* | rebar_ct: ?DEBUG log ct_run commandTuncer Ayaz2012-09-031-0/+1
| |
* | rebar_ct: do not export variable from caseTuncer Ayaz2012-09-021-7/+6
| |
* | Update port_env for Mountain Lion (Noticed-by: Tony Rogvall)Tuncer Ayaz2012-09-011-9/+4
| |
* | Comment eunit_test:function_wrapper/2 TODOTuncer Ayaz2012-09-011-0/+1
| |
* | rebar_eunit: adapt to R15B02 changesTuncer Ayaz2012-08-311-6/+13
| |
* | rebar_reltool: remove blank linesTuncer Ayaz2012-08-301-5/+0
| |
* | Add dynamic .script support for overlay vars fileDmitriy Kargapolov2012-08-301-1/+1
| |
* | Stop cover server between eunit runs for speedMarkus Näsman2012-08-301-13/+14
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix whitespace error in rebar_eunitTuncer Ayaz2012-08-221-1/+2
| |
* | Fix whitespace errors in rebar_ct and rebar_eunitTuncer Ayaz2012-08-222-2/+2
| |
* | Cleanup and commentTuncer Ayaz2012-08-202-56/+94
| |
* | Fix tests= option not running generator testsRoberto Ostinelli2012-08-201-2/+11
| |
* | Add experimental tests= filter without eunit suitesRoberto Ostinelli2012-08-202-8/+21
| |
* | Fix #295 (consider *_SUITE.beam in ct skip check)Tuncer Ayaz2012-08-191-1/+1
| |
* | Fix whitespace errorTuncer Ayaz2012-08-181-3/+2
| |
* | Add erlc override from erl_opts: outdirJoe DeVivo2012-08-181-1/+3
| |
* | Clarify commentsTuncer Ayaz2012-08-122-3/+4
| |
* | rebar_eunit: add tests= TODO itemTuncer Ayaz2012-08-111-0/+1
| |
* | Add experimental tests= filter for eunit suitesRoberto Ostinelli2012-08-112-27/+145
| |
* | Change escript zip archive creation as suggested by Siri HansenTuncer Ayaz2012-08-111-9/+46
| | | | | | | | | | | | | | | | 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.
* | New upstream mustache.erlTuncer Ayaz2012-08-111-22/+16
| |
* | rebar_eunit: fix typoTuncer Ayaz2012-08-101-1/+1
| |
* | rebar_utils: refactor get_experimental and get_deprecated funsTuncer Ayaz2012-08-101-21/+17
| |
* | rebar_qc: ensure_dir/1 the same way as in rebar_eunitTuncer Ayaz2012-08-091-1/+5
| |
* | Use separate dirs for eunit and qcTuncer Ayaz2012-08-094-36/+43
| |