Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (21 sloc) 0.634 kb
.SECONDARY:
all: deps supervisorring
deps:
@mix do deps.get
supervisorring:
@mix compile
## single node dev
start: supervisorring
@iex -S mix run
start_%: config/%.exs data/%
@iex --name $*@127.0.0.1 -S mix run
test_%: config/%.exs data/%
@iex --name $*@127.0.0.1 -S mix run -e "Code.require_file(\"test/multinode.exs\");ExUnit.run"
## multiple node dev
NODES = dev1 dev2 dev3 dev4
multi_start: supervisorring
@for n in $(NODES); do xterm -e "source ~/.zshrc; make start_$$n ; read" & done
multi_test: supervisorring
@for n in $(NODES); do xterm -e "source ~/.zshrc; make test_$$n ; read" & done
data/%:
mkdir -p "$@"
Jump to Line
Something went wrong with that request. Please try again.