Skip to content

Commit

Permalink
build before running tests for #4
Browse files Browse the repository at this point in the history
  • Loading branch information
unix1 committed Mar 11, 2014
1 parent adc9254 commit e2ba88a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -19,7 +19,7 @@ build: deps
deps:
$(REBAR) get-deps

test:
test: build
$(REBAR) skip_deps=true eunit

# development
Expand Down
13 changes: 1 addition & 12 deletions test/test_econfig_server.erl
Expand Up @@ -2,18 +2,7 @@
-include_lib("eunit/include/eunit.hrl").

setup() ->
ok = application:load({application, econfig,
[
{description, "simple Erlang config handler using INI files"},
{vsn, "0.4.1"},
{registered, []},
{applications, [kernel,
stdlib,
gproc]},
{mod, { econfig_app, []}},
{env, []}
]}),
% ok = application:load(econfig),
ok = application:load(econfig),
ok = econfig:start(),
ok = econfig:register_config(t, ["../priv/fixtures/test.ini"], []).

Expand Down

0 comments on commit e2ba88a

Please sign in to comment.