aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2017-02-07 18:55:07 -0700
committerkballou <kballou@devnulllabs.io>2017-02-07 19:01:26 -0700
commit9ed32d5917a7a3af500d215b9d266efc97b971ba (patch)
treeebca08d5bfa5079004b10afb3ee9f7b390bbbde4 /Makefile
downloadexgit-9ed32d5917a7a3af500d215b9d266efc97b971ba.tar.gz
exgit-9ed32d5917a7a3af500d215b9d266efc97b971ba.tar.xz
exgit: elixir git object explorer: initial commitHEADmaster
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