-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: janusweb
action: commit
revision:
path_from:
revision_from: a412fc1e9edd355e71d0b55ca6c1ad60f6d8dcf8:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit a412fc1e9edd355e71d0b55ca6c1ad60f6d8dcf8
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun May 29 12:24:56 2016 -0700

    Updated build script to support prroject-local Elation checkout

diff --git a/utils/build.sh b/utils/build.sh

index 71029180f351ff2417a0a3232408ec74b32a854d..

index ..b3759a4edeb00b8c87307d3d0b1e3d586627fc15 100755

--- a/utils/build.sh
+++ b/utils/build.sh
@@ -15,7 +15,13 @@ fi

 cp -r `pwd`/media build/media
 mv build/media/index.html build/index.html
-cd ../../
+if [ -e elation ] && [ -e elation/components/janusweb ]; then
+  echo 'Building from project-local elation directory'
+  cd elation/
+else
+  echo 'Building from parent directory'
+  cd ../../
+fi
 ./elation component runjs utils.pack -config janusweb.$CFGNAME -bundle janusweb janusweb.client engine.assetworker
 mv janusweb.css janusweb.js components/janusweb/build
 echo 'Built new release in ./build/'

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:38:54 2024