couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject couchdb commit: updated refs/heads/1994-merge-rcouch to 0163e23
Date Tue, 11 Feb 2014 23:41:00 GMT
Updated Branches:
  refs/heads/1994-merge-rcouch dae92514b -> 0163e2327


couch_log: be less invasive when using parse_transform

Noticed when running tests vi travis-ci, jiffy doesn't like too much
lager and the build hangs. So instead to compile all modules with the
parse transform, only do it for couch_log. This is the only place where
we really need it anyway.


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

Branch: refs/heads/1994-merge-rcouch
Commit: 0163e23276e636c43ea754efb424b43ee8462395
Parents: dae9251
Author: Benoit Chesneau <bchesneau@gmail.com>
Authored: Wed Feb 12 00:38:27 2014 +0100
Committer: Benoit Chesneau <bchesneau@gmail.com>
Committed: Wed Feb 12 00:38:27 2014 +0100

----------------------------------------------------------------------
 apps/couch/src/couch_log.erl | 2 ++
 rebar.config                 | 3 +--
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0163e232/apps/couch/src/couch_log.erl
----------------------------------------------------------------------
diff --git a/apps/couch/src/couch_log.erl b/apps/couch/src/couch_log.erl
index 6cf04f4..82158f6 100644
--- a/apps/couch/src/couch_log.erl
+++ b/apps/couch/src/couch_log.erl
@@ -14,6 +14,8 @@
 
 -behaviour(gen_server).
 
+-compile([{parse_transform, lager_transform}]).
+
 % public API
 -export([start_link/0, stop/0]).
 -export([debug/2, info/2, warn/2, error/2]).

http://git-wip-us.apache.org/repos/asf/couchdb/blob/0163e232/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
index f3d5b14..81f7e48 100644
--- a/rebar.config
+++ b/rebar.config
@@ -4,8 +4,7 @@
 {cover_enabled, true}.
 {eunit_opts, [{report,{eunit_surefire,[{dir,"."}]}}]}.
 {edoc_opts, [{preprocess, true}]}.
-{erl_opts, [debug_info, fail_on_warning,
-            {parse_transform, lager_transform}]}.
+{erl_opts, [debug_info, fail_on_warning]}.
 
 {require_otp_vsn, "R14B04|R15|R16"}.
 


Mime
View raw message