From 3fb4a7c540da227382ea0831c0c6424765900123 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Tue, 17 Jun 2014 10:49:03 +0200 Subject: Fix OS X resource fork handling (Reported-by: Richard O'Keefe) If you happen to fetch a zip archive of the git repo and try to build from that, you may, for example, ask erlc to build src/._rebar.erl. ._* are OS X resource forks and not real .erl files. This may also happen with network filesystems on OS X. To fix that, limit the files compiled by rebar to include only those which start with a letter or a digit. --- inttest/erlc/src/._do_not_compile.erl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 inttest/erlc/src/._do_not_compile.erl (limited to 'inttest/erlc/src') diff --git a/inttest/erlc/src/._do_not_compile.erl b/inttest/erlc/src/._do_not_compile.erl new file mode 100644 index 0000000..c9d743b --- /dev/null +++ b/inttest/erlc/src/._do_not_compile.erl @@ -0,0 +1,4 @@ +syntax error +this is file is here to verify that rebar does not try to +compile files like OS X resource forks and should not be +processed at all -- cgit v1.1