Browse Source

Merge pull request #84 from seriyps/fix-make-run

Fix make run
Sergey Prokhorov 2 years ago
parent
commit
1503337a32
2 changed files with 3 additions and 2 deletions
  1. 1 1
      Makefile
  2. 2 1
      rebar.config

+ 1 - 1
Makefile

@@ -9,7 +9,7 @@ compile: $(REBAR)
 	$(REBAR) as dev compile
 
 run: $(REBAR)
-	@$(REBAR) as dev shell --apps pooler --config config/demo.config
+	@$(REBAR) as test shell --apps pooler --config config/demo.config
 
 test: $(REBAR)
 	$(REBAR) eunit --verbose --cover

+ 2 - 1
rebar.config

@@ -42,7 +42,8 @@
     }
 ]}.
 
-{eunit_opts, [{report, {eunit_progress, [colored, profile]}}]}.
+{eunit_opts, [{report, {eunit_progress, [colored, profile]}},
+              {print_depth, 100}]}.
 {eunit_compile_opts, [export_all]}.
 
 {ct_opts, []}.