Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@ cfengine="lucee@5" ^
port=8765 ^
openbrowser=false ^
directory=%CWD% ^
javaVersion=openjdk8_jre_jdk8u332-b09 ^
javaVersion=openjdk88_jre_jdk8u132-b09 ^
heapSize=2048

@echo off
IF ERRORLEVEL EQ 0 GOTO start
echo Exiting build, commandbox build failed with exitcode %exitcode%
Comment thread
zspitzer marked this conversation as resolved.
Outdated
exit /b %exitcode%
echo on
:start

echo Done!
echo Importing reference docs from previously undocumented functions and tags...
curl http://localhost:8765/import.cfm?textlogs=true
Expand Down
9 changes: 8 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ cfengine="lucee@5" \
port=8765 \
openbrowser=false \
directory=$CWD \
javaVersion=openjdk8_jre_jdk8u332-b09 \
javaVersion=openjdk8_jre_jdk8u132-b09 \
heapSize=2048;

if [ -f .exitcode ]; then
exitcode=$(<.exitcode)
rm -f .exitcode
echo "Exiting build, Lucee / Commandbox failed to start. Exit code: $exitcode"
Comment thread
zspitzer marked this conversation as resolved.
Outdated
exit $exitcode
fi

echo "Local Lucee Server Started!";
echo "Importing reference docs from previously undocumented functions and tags..."
curl --no-progress-meter http://localhost:8765/import.cfm?textlogs=true
Expand Down