Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (16 sloc) 525 Bytes
all: expm
.PHONY: ebin rel
ebin:
@mix do deps.get, compile
expm: ebin
@mix escriptize
@cp ./expm priv/static
sys.config: config.exs
@ERL_LIBS=deps elixir -pa ebin -e "config = Expm.Config.file!(%b{config.exs}); config.sys_config!(%b{sys.config})"
start: expm sys.config
@ERL_LIBS=deps elixir --sname expm --erl "-pa ebin -config sys -s Elixir-Expm" --no-halt
rel: rel/expm
rel/expm: expm
@mix relex.assemble
start-rel: rel sys.config
@./rel/expm/erts-*/bin/erl -sname expm -config sys -s 'Elixir-Expm' -noinput