mirror of https://github.com/mitchell/shortnr.git
20 lines
246 B
Makefile
20 lines
246 B
Makefile
|
.PHONY: all build clean install start test
|
||
|
|
||
|
build: install test clean
|
||
|
docker build -t shortnr:latest .
|
||
|
|
||
|
clean:
|
||
|
mix clean --deps
|
||
|
|
||
|
install:
|
||
|
mix deps.get
|
||
|
|
||
|
install-prod:
|
||
|
mix deps.get --only prod
|
||
|
|
||
|
start:
|
||
|
iex -S mix run --no-halt
|
||
|
|
||
|
test:
|
||
|
mix test
|