summaryrefslogtreecommitdiff
path: root/test/upgrade_project
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2010-10-05 17:59:52 -0400
committerAndrew Thompson <andrew@hijacked.us>2010-10-05 17:59:52 -0400
commit1bf45036dc6b8c36f5ec96f02ab747d1736bddc3 (patch)
tree0e7d669366e8dd250a4d543d38cf97b0c4886a0e /test/upgrade_project
parent465af3626629ea7715cfb272a26bd70c340f4164 (diff)
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.
Diffstat (limited to 'test/upgrade_project')
0 files changed, 0 insertions, 0 deletions