Browse Source

Use rebar3 shell for make run

Seth Falcon 9 years ago
parent
commit
3d6e2bebaa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -7,8 +7,8 @@ all: compile
 compile: $(REBAR)
 	$(REBAR) as dev compile
 
-run:
-	erl -pa _build/dev/lib/*/ebin -boot start_sasl -config config/demo.config -run pooler
+run: $(REBAR)
+	@$(REBAR) as dev shell --apps pooler --config config/demo.config
 
 test: $(REBAR)
 	$(REBAR) eunit skip_deps=true verbose=3