diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-06-17 10:49:03 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2014-07-25 20:52:30 +0200 |
commit | 3fb4a7c540da227382ea0831c0c6424765900123 (patch) | |
tree | 8a47941bbc34397269c9b42a84e33db6d0294476 /inttest | |
parent | e8a6cfe04ab0612dcd089c7aed035520e3dd9aee (diff) |
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.
Diffstat (limited to 'inttest')
-rw-r--r-- | inttest/erlc/src/._do_not_compile.erl | 4 |
1 files changed, 4 insertions, 0 deletions
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 |