Commit graph

1312 commits

Author SHA1 Message Date
Joe DeVivo
991e2ce8e1 Add erlc override from erl_opts: outdir 2012-08-18 17:19:23 +02:00
Tuncer Ayaz
e34b702423 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
2012-08-13 00:07:00 +02:00
Tuncer Ayaz
0822075250 Update .gitignore (add .eunit and deps) 2012-08-13 00:02:12 +02:00
Tuncer Ayaz
fc7df16e31 Clarify comments 2012-08-12 14:03:44 +02:00
Tuncer Ayaz
d76d063d05 Add Roberto Ostinelli to THANKS file 2012-08-11 23:11:50 +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
147b1a0798 bash completion: remove duplicate cmd 2012-08-09 15:16:22 +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
Tuncer Ayaz
87904ceef2 Fix version string 2012-08-09 13:04:08 +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
Tuncer Ayaz
19d1ee2c4e Update THANKS file 2012-08-08 00:52:54 +02:00
Lev Walkin
f2f294d812 Do not rewrite .app file if it didn't change 2012-08-08 00:52:54 +02:00
Edwin Fine
ca8d7cc95d Ensure edocs are also built if only overview.edoc changes 2012-08-08 00:52:42 +02:00
Tuncer Ayaz
d90697d40e Fix David Aaberg's name 2012-08-07 16:47:42 +02:00
Tuncer Ayaz
208915dd37 Add DeadZen to THANKS file 2012-08-07 14:22:59 +02:00
DeadZen
f1d35f9d06 Add ct_log_dir option, skip test dir with no SUITE
When rebar ct executes with its default common test directory of "test",
it will generate a hardcoded "logs" directory in every application with
a test directory present, causing an overlap with eunit's test framework
so even test directories with only eunit tests will be processed by ct.
2012-08-07 14:22:59 +02:00
Tuncer Ayaz
888bbc8ee2 Fix whitespace error 2012-08-07 14:03:58 +02:00
Tuncer Ayaz
fdc1425a3b Use rebar_utils:test_dir/0 for coverdata export file 2012-08-07 14:02:13 +02:00
Tuncer Ayaz
19ef152ddf Add David Aberg to THANKS file 2012-08-07 13:57:35 +02:00
David Åberg
43d5b6257e Enable export of cover data from eunit testrun 2012-08-07 13:44:40 +02:00
Tuncer Ayaz
aec71f93cb Clean up specs 2012-08-06 19:52:09 +02:00
Tuncer Ayaz
1b9f2a5981 rebar_utils: fix whitespace error 2012-08-06 19:35:46 +02:00
Tuncer Ayaz
491d52298e Re-use rebar_utils:ebin_dir() 2012-08-06 19:00:18 +02:00
Tuncer Ayaz
e2492eb37f rebar_utils: call get_cwd/1 locally 2012-08-06 19:00:03 +02:00
Tuncer Ayaz
870f8cfbb4 rebar_utils: clean up specs 2012-08-06 18:52:33 +02:00
Tuncer Ayaz
70c82ba1c1 Fix arg order in rebar_erlc_compiler:compile_mib/3 2012-08-06 17:44:13 +02:00
Tuncer Ayaz
b540c002e7 Fix vsn string 2012-08-06 17:33:45 +02:00
Tuncer Ayaz
0b18b208e2 Only print absolute filename if not in base_dir 2012-08-05 19:56:27 +02:00
Tuncer Ayaz
4f19572ff9 Remove two comments 2012-08-04 14:04:59 +02:00
Tuncer Ayaz
392adcf967 Refactor setup_env rebar_config funs 2012-08-04 14:04:27 +02:00
Tuncer Ayaz
c9ddb8325a Quote EUnit User's guide about _tests.beam handling 2012-07-31 16:39:25 +02:00
Tuncer Ayaz
ad2e94b96b Add experimental notice to test-compile and shell 2012-07-31 15:39:36 +02:00
Matt Campbell
471b5714eb Quote paths in Windows runner script
This allows the node to run in paths which include special characters,
for example 'C:\Program Files (x86)\Product Name'
2012-07-31 00:08:01 +02:00
Tuncer Ayaz
556f47579d No need to re-specify default escript_shebang in rebar.config 2012-07-30 20:24:50 +02:00
Tuncer Ayaz
4875d2312c Add rebar.hrl R13B04 TODO
We have to rename ?FAIL to ?ABORT once we require at least R13B04 for
building rebar. Macros with different arity were not supported by the
compiler before 13B04.
2012-07-28 20:14:10 +02:00
Tuncer Ayaz
636c02f0be Fix R13B03 build (Reported-by: Sergey Nartimov) 2012-07-28 19:51:57 +02:00
Joseph Wayne Norton
2d62896de0 Fix -D handling 2012-07-28 19:36:46 +02:00
Tuncer Ayaz
74a82fa104 Fix -c typo (Noticed-by: Joe Norton) 2012-07-28 11:48:54 +02:00