Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.
Find a file
Andrew Thompson 1bf45036dc Parse transforms and behaviours are compiled first
The previous code in rebar that was trying to ensure that parse
transforms and behaviours were compiled first doesn't work with multiple
compiler workers because of the possiblity of one of the workers
compiling a file that needs a parse transform or a behaviour at the same
time another worker is compiling that same parse transform or behaviour.

The solution this patch implements is to append any parse transforms and
any behaviours (in that order) to erl_first_files to ensure that they
are compiled before any regular files. This patch won't break any
currently working uses of erl_first files because we only append to the
list, so anything in erl_first_files is still compiled before anything
else.
2010-10-05 17:59:52 -04:00
ebin Put rebar_pre_script in correct app_dir module position 2010-07-24 05:13:16 +02:00
include Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. 2010-02-16 07:05:29 -07:00
inttest Adding simple test suite for common_test functionality 2010-06-22 15:41:39 -06:00
priv Update completion to reflect common_test changes 2010-09-30 13:48:10 +02:00
src Parse transforms and behaviours are compiled first 2010-10-05 17:59:52 -04:00
test Fix incorrect coverage count when prod modules include EUnit header. 2010-05-15 15:09:45 -04:00
.gitignore Add .gitignore to the source tree 2010-10-03 16:00:15 +02:00
.hgignore Add .gitignore to the source tree 2010-10-03 16:00:15 +02:00
.hgtags Added tag RELEASE-1 for changeset e8747041ef63 2009-12-18 15:11:54 -07:00
bootstrap Add debug flag to make it easier to get a debug version of rebar 2010-10-07 19:02:37 -06:00
bootstrap.bat add bat scripts for bootstrap and rebat (windows doesn't understand shebang), make bootstrap work on windows 2010-08-02 20:35:26 +03:00
HACKING Document how to write good commit messages 2010-08-25 23:29:17 +02:00
LICENSE Added HACKING, LICENSE and THANKS files 2009-12-31 20:31:22 +01:00
Makefile Add "clean" target 2010-06-08 13:23:36 -06:00
NOTES.org Initial commit 2009-11-25 15:23:42 -07:00
rebar.bat add bat scripts for bootstrap and rebat (windows doesn't understand shebang), make bootstrap work on windows 2010-08-02 20:35:26 +03:00
rebar.config Enable xref checks on rebar 2010-04-09 09:25:08 -06:00
rebar.config.sample Add optional eunit coverage report to terminal 2010-10-06 21:05:13 +02:00
THANKS Add Manuel Duran Aguete to THANKS file 2010-10-04 22:27:04 +02:00
TODO Update TODO file 2010-03-08 22:59:50 +01:00