Merge pull request #236 from andralex/auto-autobootstrap

Rename update.sh to setup.sh and make it work with auto-boostraping
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
This commit is contained in:
The Dlang Bot 2017-06-19 01:29:54 +02:00 committed by GitHub
commit 7c724f0974

View file

@ -168,9 +168,10 @@ function update() {
function makeWorld() { function makeWorld() {
# First make dmd # First make dmd
( (
which dmd >/dev/null || BT="AUTO_BOOTSTRAP=1"
cd "$wd/dmd/src" && cd "$wd/dmd/src" &&
$makecmd -f posix.mak clean MODEL=$model && $makecmd -f posix.mak clean MODEL=$model $BT &&
$makecmd -f posix.mak -j $parallel MODEL=$model $makecmd -f posix.mak -j $parallel MODEL=$model $BT
) )
# Update the running dmd version # Update the running dmd version