diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 19:49:43 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-08-06 19:52:09 +0200 |
commit | aec71f93cbcb13a3765b16209871769153af11e2 (patch) | |
tree | a89cc04676f9725a03a2311068f64e0d97935001 /src/rebar_asn1_compiler.erl | |
parent | 1b9f2a59812036c66c6c50f9da0913fada30db6c (diff) |
Clean up specs
Diffstat (limited to 'src/rebar_asn1_compiler.erl')
-rw-r--r-- | src/rebar_asn1_compiler.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_asn1_compiler.erl b/src/rebar_asn1_compiler.erl index 40129c9..d93a2e8 100644 --- a/src/rebar_asn1_compiler.erl +++ b/src/rebar_asn1_compiler.erl @@ -36,13 +36,13 @@ %% Public API %% =================================================================== --spec compile(Config::rebar_config:config(), AppFile::file:filename()) -> 'ok'. +-spec compile(rebar_config:config(), file:filename()) -> 'ok'. compile(Config, _AppFile) -> rebar_base_compiler:run(Config, filelib:wildcard("asn1/*.asn1"), "asn1", ".asn1", "src", ".erl", fun compile_asn1/3). --spec clean(Config::rebar_config:config(), AppFile::file:filename()) -> 'ok'. +-spec clean(rebar_config:config(), file:filename()) -> 'ok'. clean(_Config, _AppFile) -> GeneratedFiles = asn_generated_files("asn1", "src", "include"), ok = rebar_file_utils:delete_each(GeneratedFiles), |