diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 18:52:33 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 18:52:33 +0200 |
commit | 870f8cfbb44ef99001cd11dae680d019cedce2fc (patch) | |
tree | 1ad6176ba790bbdce78af5a112c042163990c4f7 | |
parent | 70c82ba1c195fc5e399a076301ba9377d42bc0f3 (diff) |
rebar_utils: clean up specs
-rw-r--r-- | src/rebar_utils.erl | 3 |
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) -> |