summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-06 18:52:33 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2012-08-06 18:52:33 +0200
commit870f8cfbb44ef99001cd11dae680d019cedce2fc (patch)
tree1ad6176ba790bbdce78af5a112c042163990c4f7
parent70c82ba1c195fc5e399a076301ba9377d42bc0f3 (diff)
rebar_utils: clean up specs
-rw-r--r--src/rebar_utils.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 4d52dff..20cef8a 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -302,7 +302,7 @@ erl_opts(Config) ->
[debug_info|Opts]
end.
--spec src_dirs(SrcDirs::[string()]) -> [file:filename(), ...].
+-spec src_dirs([string()]) -> [file:filename(), ...].
src_dirs([]) ->
["src"];
src_dirs(SrcDirs) ->
@@ -497,7 +497,6 @@ vcs_vsn_invoke(Cmd, Dir) ->
%% Filter a list of erl_opts platform_define options such that only
%% those which match the provided architecture regex are returned.
%%
--spec filter_defines(ErlOpts::list(), Acc::list()) -> list().
filter_defines([], Acc) ->
lists:reverse(Acc);
filter_defines([{platform_define, ArchRegex, Key} | Rest], Acc) ->