couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject [02/23] goldrush commit: updated refs/heads/import-master to 71e6321
Date Thu, 13 Feb 2014 16:35:35 GMT
Add project files


Project: http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/commit/9abd34b9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/tree/9abd34b9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/diff/9abd34b9

Branch: refs/heads/import-master
Commit: 9abd34b98216448d8093c17ce59c39cb1afb2700
Parents: 629378d
Author: Magnus Klaar <klaar@ninenines.fr>
Authored: Mon Apr 23 18:12:05 2012 +0200
Committer: Magnus Klaar <klaar@ninenines.fr>
Committed: Mon Apr 23 18:12:05 2012 +0200

----------------------------------------------------------------------
 LICENSE      | 13 +++++++++++++
 Makefile     | 37 +++++++++++++++++++++++++++++++++++++
 rebar.config |  8 ++++++++
 3 files changed, 58 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/blob/9abd34b9/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..812980e
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,13 @@
+Copyright (c) 2012, Magnus Klaar <klaar@ninenines.eu>
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/blob/9abd34b9/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..616e9cd
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,37 @@
+# See LICENSE for licensing information.
+
+DIALYZER = dialyzer
+REBAR = rebar
+APPNAME = goldrush
+
+all: app
+
+app: deps
+	@$(REBAR) compile
+
+deps:
+	@$(REBAR) get-deps
+
+clean:
+	@$(REBAR) clean
+	rm -f test/*.beam
+	rm -f erl_crash.dump
+
+tests: clean app eunit ct
+
+eunit:
+	@$(REBAR) eunit skip_deps=true
+
+ct:
+	@$(REBAR) ct skip_deps=true
+
+build-plt:
+	@$(DIALYZER) --build_plt --output_plt .$(APPNAME)_dialyzer.plt \
+		--apps kernel stdlib sasl inets crypto public_key ssl
+
+dialyze:
+	@$(DIALYZER) --src src --plt .$(APPNAME)_dialyzer.plt --no_native \
+		-Werror_handling -Wrace_conditions -Wunmatched_returns # -Wunderspecs
+
+docs:
+	@$(REBAR) doc skip_deps=true

http://git-wip-us.apache.org/repos/asf/couchdb-goldrush/blob/9abd34b9/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
new file mode 100644
index 0000000..55fe764
--- /dev/null
+++ b/rebar.config
@@ -0,0 +1,8 @@
+{cover_enabled, true}.
+{eunit_opts, [{report, {eunit_surefire, [{dir, "."}]}}]}.
+{erl_opts, [
+%%	bin_opt_info,
+%%	warn_missing_spec,
+	warnings_as_errors,
+	warn_export_all
+]}.


Mime
View raw message