diff options
author | Luis Rascao <luis.rascao@miniclip.com> | 2015-06-25 14:05:46 +0100 |
---|---|---|
committer | Luis Rascao <luis.rascao@miniclip.com> | 2015-06-25 14:05:46 +0100 |
commit | a47230899e879b1d49ca5ee8b33e1f0f34fd6a61 (patch) | |
tree | 22ae2c2a48a437fccce64c2a8ea32f920932bf63 /inttest | |
parent | 585e307d231a5150d24bc196991778999d55a6f5 (diff) | |
download | rebar-a47230899e879b1d49ca5ee8b33e1f0f34fd6a61.tar.gz |
Generate reserved file for erlc regression test
Reserved files such as ._do_not_compile.erl should be
generated automatically when running the regression
test and not added to the repo. .tar.gz source releases
are not correctly generated when handling such files.
Diffstat (limited to 'inttest')
-rw-r--r-- | inttest/erlc/erlc_rt.erl | 4 | ||||
-rw-r--r-- | inttest/erlc/src/._do_not_compile.erl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/inttest/erlc/erlc_rt.erl b/inttest/erlc/erlc_rt.erl index 7e0c5dc..0c1f25d 100644 --- a/inttest/erlc/erlc_rt.erl +++ b/inttest/erlc/erlc_rt.erl @@ -66,6 +66,10 @@ files() -> {copy, "mibs", "mibs"}, {copy, "asn1", "asn1"}, {create, "ebin/foo.app", app(foo, ?MODULES)}, + {create, "src/._do_not_compile.erl", + "syntax error\n" + "this file is here to verify that rebar does not try to compile\n" + "files like OS X resource forks and should not be processed at all\n"}, %% deps {create, "deps/foobar/ebin/foobar.app", app(foobar, [foobar])}, {copy, "foobar.erl", "deps/foobar/src/foobar.erl"} diff --git a/inttest/erlc/src/._do_not_compile.erl b/inttest/erlc/src/._do_not_compile.erl deleted file mode 100644 index f26f987..0000000 --- a/inttest/erlc/src/._do_not_compile.erl +++ /dev/null @@ -1,4 +0,0 @@ -syntax error -this 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 |