You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/07/29 00:38:02 UTC

[1/2] couchdb-b64url git commit: Integrate with Travis CI

Repository: couchdb-b64url
Updated Branches:
  refs/heads/master 4ee0dcc0b -> 319fc6042


Integrate with Travis CI


Project: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/commit/319fc604
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/tree/319fc604
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/diff/319fc604

Branch: refs/heads/master
Commit: 319fc604235ab1fde37047b38a432450161db750
Parents: 5ea50ac
Author: Alexander Shorin <kx...@apache.org>
Authored: Fri Jul 24 05:20:50 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Jul 29 01:32:03 2015 +0300

----------------------------------------------------------------------
 .travis.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-b64url/blob/319fc604/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..99e6cb3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,10 @@
+language: erlang
+
+otp_release:
+   - 17.5
+   - 17.4
+   - 17.1
+   - 17.0
+   - R16B03-1
+   - R14B04
+   - R14B02


[2/2] couchdb-b64url git commit: Add Makefile

Posted by kx...@apache.org.
Add Makefile


Project: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/commit/5ea50ac0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/tree/5ea50ac0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-b64url/diff/5ea50ac0

Branch: refs/heads/master
Commit: 5ea50ac06b3c2997e32e2178a2e01c966df053fc
Parents: 4ee0dcc
Author: Alexander Shorin <kx...@apache.org>
Authored: Fri Jul 24 05:19:55 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Jul 29 01:32:03 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-b64url/blob/5ea50ac0/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..754165e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,46 @@
+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
+	rm -f test/*.beam
+
+
+.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
+
+
+%.beam: %.erl
+	erlc -o test/ $<