aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..02196c0
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+EX_SOURCES:=$(shell find lib -name '*.ex')
+
+deps: mix.exs
+ mix deps.get
+
+.PHONY: build
+build: $(EX_SOURCES) deps
+ mix compile
+
+exgit: build
+ mix escript.build
+
+.PHONY: credo
+credo: deps
+ mix credo --strict
+
+.PHONY: test
+test:
+ mix test --cover