couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [2/2] ets-lru commit: updated refs/heads/master to 0912804
Date Fri, 24 Jul 2015 10:21:38 GMT
Add Makefile


Project: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/commit/8a50cf57
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/tree/8a50cf57
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/diff/8a50cf57

Branch: refs/heads/master
Commit: 8a50cf5714e861f6fbafa78c424370005f6bd529
Parents: fb44bea
Author: Alexander Shorin <kxepal@apache.org>
Authored: Fri Jul 24 05:49:21 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Fri Jul 24 07:33:14 2015 +0300

----------------------------------------------------------------------
 Makefile | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-ets-lru/blob/8a50cf57/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..058a7ec
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,41 @@
+REBAR?=rebar
+
+
+.PHONY: all
+# target: all - Makes everything
+all: build
+
+
+.PHONY: build
+# target: build - Builds the project
+build:
+	$(REBAR) compile
+
+
+.PHONY: check
+# target: check - Checks if project builds and passes all the tests
+check: build eunit
+
+
+.PHONY: clean
+# target: clean - Removes build artifacts
+clean:
+	$(REBAR) clean
+
+
+.PHONY: distclean
+# target: distclean - Removes all unversioned files
+distclean: clean
+	git clean -fxd
+
+
+.PHONY: eunit
+# target: eunit - Runs eunit test suite
+eunit:
+	$(REBAR) eunit
+
+
+.PHONY: help
+# target: help - Prints this help
+help:
+	@egrep "^# target:" Makefile | sed -e 's/^# target: //g' | sort


Mime
View raw message