aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_goal.erl
diff options
context:
space:
mode:
authorLuis Rascao <[email protected]>2017-02-27 22:39:18 +0000
committerLuis Rascao <[email protected]>2017-02-27 22:39:18 +0000
commit81003d9ce3c4719bf5bfe15a025b8316e711e800 (patch)
treeef7be6363cb7980dcccb6fdd7092c3d02350c5f4 /src/rlx_goal.erl
parentd3d9bc73afaf4b145d7e6d484096534b297faf7f (diff)
downloadrelx-81003d9ce3c4719bf5bfe15a025b8316e711e800.tar.gz
relx-81003d9ce3c4719bf5bfe15a025b8316e711e800.tar.bz2
relx-81003d9ce3c4719bf5bfe15a025b8316e711e800.zip
Drop use of export_all erlc directive
Starting from OTP20 this will trigger a warning, since we use the warnings_as_errors the build would fail when using this OTP release onwards.
Diffstat (limited to 'src/rlx_goal.erl')
-rw-r--r--src/rlx_goal.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rlx_goal.erl b/src/rlx_goal.erl
index 354aa48..07126d5 100644
--- a/src/rlx_goal.erl
+++ b/src/rlx_goal.erl
@@ -10,8 +10,6 @@
-define(p_seq,true).
-define(p_string,true).
-
--compile(export_all).
-spec file(file:name()) -> any().
file(Filename) -> case file:read_file(Filename) of {ok,Bin} -> parse(Bin); Err -> Err end.