summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2016-12-06 08:03:29 -0500
committerGitHub <noreply@github.com>2016-12-06 08:03:29 -0500
commit9f7e79d8157db06b3b03e033db87c2e811d938d2 (patch)
treeece1b62703875b2cb99f2311919dbed0323abcf1 /src/rebar_erlc_compiler.erl
parent41d4002b99e6494bdb4cb3471d55700765d40c07 (diff)
parent74d290b9c2be6352813c71ad6036a24ddacfae79 (diff)
Merge pull request #1403 from robertoaloi/fix-regexp-for-matching-files
Restrict regexp to match on files starting with '._'
Diffstat (limited to 'src/rebar_erlc_compiler.erl')
-rw-r--r--src/rebar_erlc_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 325bb4f..d4d257f 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -48,7 +48,7 @@
-type compile_opt() :: {recursive, boolean()}.
-define(DEFAULT_OUTDIR, "ebin").
--define(RE_PREFIX, "^[^._]").
+-define(RE_PREFIX, "^(?!._)").
%% ===================================================================
%% Public API