summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Lemenkov <lemenkov@gmail.com>2014-06-02 15:01:26 +0400
committerPeter Lemenkov <lemenkov@gmail.com>2014-06-02 16:54:45 +0400
commit142417a957d23e1a4e5d29012e350940089429cb (patch)
tree91e22fecb5670dd01ddf513783b51ccd00b9a560 /Makefile
downloaderlang-sd_notify-142417a957d23e1a4e5d29012e350940089429cb.tar.gz
Initial commit
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..dfeaa69
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+REBAR ?= $(shell which rebar 2>/dev/null || which ./rebar)
+
+REBAR_FLAGS ?=
+
+all: compile
+
+compile:
+ $(REBAR) compile $(REBAR_FLAGS)
+
+test: compile
+ $(REBAR) eunit $(REBAR_FLAGS)
+
+clean:
+ $(REBAR) clean $(REBAR_FLAGS)
+
+dialyzer:
+ $(REBAR) dialyze $(REBAR_FLAGS)