Harald Welte | ab599af | 2011-02-25 16:11:30 +0100 | [diff] [blame] | 1 | diff -r d4fcc10abc0b src/rebar_asn1_compiler.erl |
| 2 | --- a/src/rebar_asn1_compiler.erl Wed Dec 15 17:40:12 2010 +0100 |
| 3 | +++ b/src/rebar_asn1_compiler.erl Fri Feb 25 16:03:42 2011 +0100 |
| 4 | @@ -38,8 +38,8 @@ |
| 5 | |
| 6 | -spec compile(Config::#config{}, AppFile::string()) -> 'ok'. |
| 7 | compile(Config, _AppFile) -> |
| 8 | - rebar_base_compiler:run(Config, filelib:wildcard("asn1/*.asn1"), |
| 9 | - "asn1", ".asn1", "src", ".erl", |
| 10 | + rebar_base_compiler:run(Config, filelib:wildcard("asn1/*.set.asn1"), |
| 11 | + "asn1", ".set.asn1", "src", ".erl", |
| 12 | fun compile_asn1/3). |
| 13 | |
| 14 | -spec clean(Config::#config{}, AppFile::string()) -> 'ok'. |
| 15 | @@ -65,5 +65,5 @@ |
| 16 | filelib:wildcard(filename:join([SrcDir, Base ++ ".*"])) ++ Acc |
| 17 | end, |
| 18 | [], |
| 19 | - filelib:wildcard(filename:join([AsnDir, "*.asn1"])) |
| 20 | + filelib:wildcard(filename:join([AsnDir, "*.set.asn1"])) |
| 21 | ). |