Blob Blame History Raw
From: senturk <sntrk@Cans-MacBook-Pro.local>
Date: Mon, 25 Dec 2017 19:33:15 +0100
Subject: [PATCH] Erlang 20 compilation 'export all' failure
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

There are several ‘export all’ compile calls, but cuttlefish_unit.erl
somehow crashes while compilation.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>

diff --git a/src/cuttlefish_unit.erl b/src/cuttlefish_unit.erl
index 4722668..825cc79 100644
--- a/src/cuttlefish_unit.erl
+++ b/src/cuttlefish_unit.erl
@@ -1,7 +1,23 @@
 -module(cuttlefish_unit).
 
 -include_lib("eunit/include/eunit.hrl").
--compile(export_all).
+-export([   generate_templated_config/3, 
+            render_template/2, 
+            generate_config/3,
+            assert_valid_config/1,
+            assert_config/3,
+            assert_not_configured/2,
+            assert_error/1,
+            assert_error_in_phase/2,
+            assert_error/3,
+            assert_errors/2,
+            assert_errors/3,
+            assert_error_message/2,
+            chase_message/3,
+            path/2,
+            key_no_match/1,
+            dump_to_file/2
+            ]).
 
 generate_templated_config(FileName, Conf, Context) ->
     generate_templated_config(FileName, Conf, Context, {[], [], []}).