From 621d8a94856df629a94fac7a77b68fd841267510 Mon Sep 17 00:00:00 2001 From: alisdair sullivan Date: Thu, 15 Oct 2015 21:40:33 -0700 Subject: Revert "add an export to allow specifing arbitrary extra erl files to be compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443. --- src/rebar_erlc_compiler.erl | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index b9192c3..06d09bd 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -28,7 +28,6 @@ -export([compile/1, compile/3, - compile/4, clean/1]). -include("rebar.hrl"). @@ -105,11 +104,6 @@ compile(Opts, Dir, OutDir) -> fun compile_mib/3), doterl_compile(Opts, Dir, OutDir). --spec compile(rebar_dict(), file:filename(), file:filename(), [file:filename()]) -> 'ok'. -compile(Opts, Dir, OutDir, More) -> - ErlOpts = rebar_opts:erl_opts(Opts), - doterl_compile(Opts, Dir, OutDir, More, ErlOpts). - -spec clean(file:filename()) -> 'ok'. clean(AppDir) -> MibFiles = rebar_utils:find_files(filename:join(AppDir, "mibs"), ?RE_PREFIX".*\\.mib\$"), @@ -494,7 +488,6 @@ needs_compile(Source, Target) -> filelib:last_modified(Source) > filelib:last_modified(Target). gather_src([], Srcs) -> - ?DEBUG("src_files ~p", [Srcs]), Srcs; gather_src([Dir|Rest], Srcs) -> gather_src( -- cgit v1.1