diff options
author | jiangph <jiangph@cn.ibm.com> | 2020-01-16 21:04:17 +0800 |
---|---|---|
committer | jiangph <jiangph@cn.ibm.com> | 2020-01-16 21:05:03 +0800 |
commit | a80647358bdbddc104c3907ac9ee15e48ee7c074 (patch) | |
tree | 2e65e571640c16eca681c1293604d5b3edb06391 | |
parent | 5d5d71bb2f4cb6a50eb33a311cd1d1a704ff48f4 (diff) | |
download | couchdb-ken-hastings.tar.gz |
use os:getenv/2couchdb-ken-hastings
-rw-r--r-- | .idea/inspectionProfiles/Project_Default.xml | 6 | ||||
-rw-r--r-- | .idea/vcs.xml | 25 | ||||
-rw-r--r-- | src/ken/rebar.config.script | 5 |
3 files changed, 32 insertions, 4 deletions
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 000000000..03d9549ea --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ +<component name="InspectionProjectProfileManager"> + <profile version="1.0"> + <option name="myName" value="Project Default" /> + <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" /> + </profile> +</component>
\ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 000000000..5df2bf4d6 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="$PROJECT_DIR$" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/b64url" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/bear" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/config" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/docs" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/ets_lru" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/fauxton" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/folsom" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/hqueue" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/hyper" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/ibrowse" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/ioq" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/jiffy" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/khash" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/meck" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/mochiweb" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/proper" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/rebar" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/snappy" vcs="Git" /> + <mapping directory="$PROJECT_DIR$/src/triq" vcs="Git" /> + </component> +</project>
\ No newline at end of file diff --git a/src/ken/rebar.config.script b/src/ken/rebar.config.script index f52aaef87..3344206e5 100644 --- a/src/ken/rebar.config.script +++ b/src/ken/rebar.config.script @@ -12,10 +12,7 @@ HaveDreyfus = element(1, file:list_dir("../dreyfus")) == ok. -HastingsHome = case os:getenv("HASTINGS_HOME") of - false -> "../hastings"; - HastingsHome0 -> HastingsHome0 -end, +HastingsHome = os:getenv("HASTINGS_HOME", "../hastings"). HaveHastings = element(1, file:list_dir(HastingsHome)) == ok. CurrOpts = case lists:keyfind(erl_opts, 1, CONFIG) of |