You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/04/02 17:02:33 UTC

[GitHub] [couchdb] wohali commented on a change in pull request #1944: Integrate emilio

wohali commented on a change in pull request #1944: Integrate emilio
URL: https://github.com/apache/couchdb/pull/1944#discussion_r402469133
 
 

 ##########
 File path: configure
 ##########
 @@ -217,12 +217,25 @@ install_local_rebar() {
     fi
 }
 
+install_local_emilio() {
+    if [ ! -x "${rootdir}/bin/emilio" ]; then
+        if [ ! -d "${rootdir}/src/emilio" ]; then
+            git clone --depth 1 https://github.com/cloudant-labs/emilio ${rootdir}/src/emilio
+        fi
+        cwd=`pwd`
+        cd ${rootdir}/src/emilio && ${REBAR} compile escriptize; cd ${cwd}
+        mv ${rootdir}/src/emilio/emilio ${rootdir}/bin/emilio
+        chmod +x ${rootdir}/bin/emilio
 
 Review comment:
   Should also do a `cd ${rootdir}/src/emilio && ${REBAR} clean` at this point, like we do on L216 for `rebar`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services