couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [4/6] couch commit: updated refs/heads/master to 2ad85bc
Date Tue, 20 Sep 2016 17:04:07 GMT
Remove rebar.config


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

Branch: refs/heads/master
Commit: 30cc961a34ecf30d4a721e07d4b0662ee5337db0
Parents: 0883e3f
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Sep 16 13:11:56 2016 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Fri Sep 16 13:42:47 2016 -0700

----------------------------------------------------------------------
 rebar.config        | 2 --
 rebar.config.script | 8 +++++++-
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/30cc961a/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
deleted file mode 100644
index 43e2924..0000000
--- a/rebar.config
+++ /dev/null
@@ -1,2 +0,0 @@
-{erl_opts, [{platform_define, "win32", 'WINDOWS'}]}.
-{eunit_compile_opts, [{platform_define, "win32", 'WINDOWS'}]}.

http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/30cc961a/rebar.config.script
----------------------------------------------------------------------
diff --git a/rebar.config.script b/rebar.config.script
index 8e4ea13..254dcc9 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -132,7 +132,13 @@ PortSpecs = case os:type() of
         BaseSpecs
 end,
 
-AddConfig = [{port_specs, PortSpecs}].
+AddConfig = [
+    {port_specs, PortSpecs},
+    {erl_opts, [
+        {platform_define, "win32", 'WINDOWS'}
+    ]},
+    {eunit_compile_opts, [{platform_define, "win32", 'WINDOWS'}]}
+].
 
 lists:foldl(fun({K, V}, CfgAcc) ->
     lists:keystore(K, 1, CfgAcc, {K, V})


Mime
View raw message