Skip to content

Commit e583fcb

Browse files
committed
Cosmetic cleanup and slight refactoring
- Drop unused mandatory -t argument in build.sh. - Remove infinite retries for OSX and iOS, builds now seem to succeed right away and it prevents exiting the script. - Factor out iOS SDK version. - Make build order consistent in build.sh and build-release.sh - Removing trailing whitespace.
1 parent 1ca485f commit e583fcb

File tree

7 files changed

+120
-153
lines changed

7 files changed

+120
-153
lines changed

build-ios/build.sh

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44

55
export BUILD_NAME=official
66
export SCONS="scons -j16 verbose=yes warnings=no progress=no"
7+
export IOS_SDK="11.2"
78
export OPTIONS="osxcross_sdk=darwin15 builtin_libpng=yes builtin_openssl=yes builtin_zlib=yes debug_symbols=no use_static_cpp=yes"
89
export OPTIONS_MONO="module_mono_enabled=yes mono_static=yes"
910
export TERM=xterm
@@ -14,37 +15,21 @@ mkdir godot
1415
cd godot
1516
tar xf /root/godot.tar.gz --strip-components=1
1617

17-
while ! $SCONS platform=iphone $OPTIONS arch=arm tools=no target=release_debug IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"; do
18-
echo "Retry"
19-
done
18+
$SCONS platform=iphone $OPTIONS arch=arm tools=no target=release_debug IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"
2019

21-
while ! $SCONS platform=iphone $OPTIONS arch=arm tools=no target=release IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"; do
22-
echo "Retry"
23-
done
20+
$SCONS platform=iphone $OPTIONS arch=arm tools=no target=release IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"
2421

25-
while ! $SCONS platform=iphone $OPTIONS arch=arm64 tools=no target=release_debug IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"; do
26-
echo "Retry"
27-
done
22+
$SCONS platform=iphone $OPTIONS arch=arm64 tools=no target=release_debug IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"
2823

29-
while ! $SCONS platform=iphone $OPTIONS arch=arm64 tools=no target=release IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"; do
30-
echo "Retry"
31-
done
24+
$SCONS platform=iphone $OPTIONS arch=arm64 tools=no target=release IPHONESDK="/root/ioscross/arm64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/arm64/" ios_triple="arm-apple-darwin11-"
3225

33-
while ! $SCONS platform=iphone $OPTIONS arch=x86 tools=no target=release_debug IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"; do
34-
echo "Retry"
35-
done
26+
$SCONS platform=iphone $OPTIONS arch=x86 tools=no target=release_debug IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"
3627

37-
while ! $SCONS platform=iphone $OPTIONS arch=x86 tools=no target=release IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"; do
38-
echo "Retry"
39-
done
28+
$SCONS platform=iphone $OPTIONS arch=x86 tools=no target=release IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"
4029

41-
while ! $SCONS platform=iphone $OPTIONS arch=x86_64 tools=no target=release_debug IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"; do
42-
echo "Retry"
43-
done
30+
$SCONS platform=iphone $OPTIONS arch=x86_64 tools=no target=release_debug IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"
4431

45-
while ! $SCONS platform=iphone $OPTIONS arch=x86_64 tools=no target=release IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS11.2.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"; do
46-
echo "Retry"
47-
done
32+
$SCONS platform=iphone $OPTIONS arch=x86_64 tools=no target=release IPHONESDK="/root/ioscross/x86_64/SDK/iPhoneOS${IOS_SDK}.sdk" IPHONEPATH="/root/ioscross/x86_64/" ios_triple="x86_64-apple-darwin11-"
4833

4934
/root/ioscross/arm64/bin/arm-apple-darwin11-lipo -create bin/libgodot.iphone.opt.arm.a bin/libgodot.iphone.opt.arm64.a bin/libgodot.iphone.opt.x86.a bin/libgodot.iphone.opt.x86_64.a -output /root/out/libgodot.iphone.opt.fat
5035
/root/ioscross/arm64/bin/arm-apple-darwin11-lipo -create bin/libgodot.iphone.opt.debug.arm.a bin/libgodot.iphone.opt.debug.arm64.a bin/libgodot.iphone.opt.debug.x86.a bin/libgodot.iphone.opt.debug.x86_64.a -output /root/out/libgodot.iphone.opt.debug.fat

build-javascript/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ cd godot
1616
tar xf /root/godot.tar.gz --strip-components=1
1717

1818
$SCONS platform=javascript ${OPTIONS} target=release_debug tools=no
19-
$SCONS platform=javascript ${OPTIONS} target=release tools=no
19+
$SCONS platform=javascript ${OPTIONS} target=release tools=no
2020

2121
cp -rvp bin/* /root/out/

build-macosx/build.sh

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,27 @@ tar xf /root/godot.tar.gz --strip-components=1
1818

1919
cp /root/mono-glue/*.cpp modules/mono/glue
2020

21-
while ! $SCONS platform=osx $OPTIONS tools=yes target=release_debug; do
22-
echo "Retry"
23-
done
21+
$SCONS platform=osx $OPTIONS tools=yes target=release_debug
2422

2523
mkdir -p /root/out/tools
2624
cp -rvp bin/* /root/out/tools
2725
rm -rf bin
2826

29-
while ! $SCONS platform=osx $OPTIONS tools=no target=release_debug; do
30-
echo "Retry"
31-
done
32-
33-
while ! $SCONS platform=osx $OPTIONS tools=no target=release; do
34-
echo "Retry"
35-
done
27+
$SCONS platform=osx $OPTIONS tools=no target=release_debug
28+
$SCONS platform=osx $OPTIONS tools=no target=release
3629

3730
mkdir -p /root/out/templates
3831
cp -rvp bin/* /root/out/templates
3932
rm -rf bin
4033

41-
while ! $SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=yes target=release_debug copy_mono_root=yes; do
42-
echo "Retry"
43-
done
34+
$SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=yes target=release_debug copy_mono_root=yes
4435

4536
mkdir -p /root/out/tools-mono
4637
cp -rvp bin/* /root/out/tools-mono
4738
rm -rf bin
4839

49-
while ! $SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=no target=release_debug; do
50-
echo "Retry"
51-
done
52-
53-
while ! $SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=no target=release; do
54-
echo "Retry"
55-
done
40+
$SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=no target=release_debug
41+
$SCONS platform=osx $OPTIONS $OPTIONS_MONO tools=no target=release
5642

5743
mkdir -p /root/out/templates-mono
5844
cp -rvp bin/* /root/out/templates-mono

build-release.sh

Lines changed: 86 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -10,52 +10,21 @@ if [ -z $1 ]; then
1010
fi
1111

1212
function sign {
13-
./osslsigncode -pkcs12 REDACTED.pkcs12 -pass "REDACTED" -n "Godot Game Engine" -i "https://godotengine.org" -t http://timestamp.comodoca.com -in $1 -out $1-signed
14-
mv $1-signed $1
13+
./osslsigncode -pkcs12 REDACTED.pkcs12 -pass "REDACTED" -n "Godot Game Engine" -i "https://godotengine.org" -t http://timestamp.comodoca.com -in $1 -out $1-signed
14+
mv $1-signed $1
1515
}
1616

1717
export GODOT_VERSION=$1
1818

1919
# Tarball
20+
2021
mkdir -p release-${GODOT_VERSION}
2122
rm -rf release-${GODOT_VERSION}/*.xz release-${GODOT_VERSION}/*.sha256
2223
zcat godot.tar.gz | xz -c > release-${GODOT_VERSION}/godot-${GODOT_VERSION}.tar.xz
2324
sha256sum release-${GODOT_VERSION}/godot-${GODOT_VERSION}.tar.xz > release-${GODOT_VERSION}/godot-${GODOT_VERSION}.tar.xz.sha256
2425

25-
# Ubuntu-32
26-
mkdir -p templates
27-
rm -f templates/linux_x11_32*
28-
29-
cp out/linux/x86/templates/godot.x11.opt.debug.32 templates/linux_x11_32_debug
30-
cp out/linux/x86/templates/godot.x11.opt.32 templates/linux_x11_32_release
31-
32-
mkdir -p release-${GODOT_VERSION}
33-
rm -f release-${GODOT_VERSION}/*linux*32*
34-
35-
cp out/linux/x86/tools/godot.x11.opt.tools.32 Godot_v${GODOT_VERSION}_x11.32
36-
zip -q -9 Godot_v${GODOT_VERSION}_x11.32.zip Godot_v${GODOT_VERSION}_x11.32
37-
mv Godot_v${GODOT_VERSION}_x11.32.zip release-${GODOT_VERSION}
38-
rm Godot_v${GODOT_VERSION}_x11.32
39-
40-
mkdir -p mono/release-${GODOT_VERSION}
41-
rm -rf mono/release-${GODOT_VERSION}/*linux*32*
42-
43-
mkdir -p Godot_v${GODOT_VERSION}_mono_x11_32
44-
cp out/linux/x86/tools-mono/godot.x11.opt.tools.32.mono Godot_v${GODOT_VERSION}_mono_x11_32/Godot_v${GODOT_VERSION}_mono_x11.32
45-
cp -rp out/linux/x86/tools-mono/GodotSharp/ Godot_v${GODOT_VERSION}_mono_x11_32
46-
cp -rp mono-glue/Api Godot_v${GODOT_VERSION}_mono_x11_32/GodotSharp/Api
47-
zip -r -q -9 Godot_v${GODOT_VERSION}_mono_x11_32.zip Godot_v${GODOT_VERSION}_mono_x11_32
48-
mv Godot_v${GODOT_VERSION}_mono_x11_32.zip mono/release-${GODOT_VERSION}
49-
rm -rf Godot_v${GODOT_VERSION}_mono_x11_32
50-
51-
mkdir -p mono/templates
52-
rm -rf mono/templates/*linux*32*
53-
54-
cp -rp out/linux/x86/templates-mono/data.mono.x11.32.* mono/templates/
55-
cp out/linux/x86/templates-mono/godot.x11.opt.debug.32.mono mono/templates/linux_x11_32_debug
56-
cp out/linux/x86/templates-mono/godot.x11.opt.32.mono mono/templates/linux_x11_32_release
26+
# Linux 64
5727

58-
# Ubuntu-64
5928
mkdir -p templates
6029
rm -f templates/linux_x11_64*
6130

@@ -88,54 +57,39 @@ cp -rp out/linux/x64/templates-mono/data.mono.x11.64.* mono/templates/
8857
cp out/linux/x64/templates-mono/godot.x11.opt.debug.64.mono mono/templates/linux_x11_64_debug
8958
cp out/linux/x64/templates-mono/godot.x11.opt.64.mono mono/templates/linux_x11_64_release
9059

91-
# Server
92-
93-
cp out/server/x64/templates/godot_server.x11.opt.64 Godot_v${GODOT_VERSION}_linux_server.64
94-
zip -q -9 Godot_v${GODOT_VERSION}_linux_server.64.zip Godot_v${GODOT_VERSION}_linux_server.64
95-
mv Godot_v${GODOT_VERSION}_linux_server.64.zip release-${GODOT_VERSION}
96-
rm Godot_v${GODOT_VERSION}_linux_server.64
60+
# Linux 32
9761

98-
cp out/server/x64/tools/godot_server.x11.opt.tools.64 Godot_v${GODOT_VERSION}_linux_headless.64
99-
zip -q -9 Godot_v${GODOT_VERSION}_linux_headless.64.zip Godot_v${GODOT_VERSION}_linux_headless.64
100-
mv Godot_v${GODOT_VERSION}_linux_headless.64.zip release-${GODOT_VERSION}
101-
rm Godot_v${GODOT_VERSION}_linux_headless.64
62+
mkdir -p templates
63+
rm -f templates/linux_x11_32*
10264

103-
# UWP
104-
mkdir -p templates
105-
rm -f templates/uwp*
106-
rm -rf uwp_template_*
65+
cp out/linux/x86/templates/godot.x11.opt.debug.32 templates/linux_x11_32_debug
66+
cp out/linux/x86/templates/godot.x11.opt.32 templates/linux_x11_32_release
10767

108-
for arch in ARM Win32 x64; do
109-
cp -r git/misc/dist/uwp_template uwp_template_${arch}
68+
mkdir -p release-${GODOT_VERSION}
69+
rm -f release-${GODOT_VERSION}/*linux*32*
11070

111-
cp angle/winrt/10/src/Release_${arch}/libEGL.dll \
112-
angle/winrt/10/src/Release_${arch}/libGLESv2.dll \
113-
uwp_template_${arch}/
114-
cp -r uwp_template_${arch} uwp_template_${arch}_debug
115-
done
71+
cp out/linux/x86/tools/godot.x11.opt.tools.32 Godot_v${GODOT_VERSION}_x11.32
72+
zip -q -9 Godot_v${GODOT_VERSION}_x11.32.zip Godot_v${GODOT_VERSION}_x11.32
73+
mv Godot_v${GODOT_VERSION}_x11.32.zip release-${GODOT_VERSION}
74+
rm Godot_v${GODOT_VERSION}_x11.32
11675

117-
cp out/uwp/arm/godot.uwp.opt.32.arm.exe uwp_template_ARM/godot.uwp.exe
118-
cp out/uwp/arm/godot.uwp.opt.debug.32.arm.exe uwp_template_ARM_debug/godot.uwp.exe
119-
sign uwp_template_ARM/godot.uwp.exe
120-
sign uwp_template_ARM_debug/godot.uwp.exe
121-
cd uwp_template_ARM && zip -q -9 -r ../templates/uwp_arm_release.zip * && cd ..
122-
cd uwp_template_ARM_debug && zip -q -9 -r ../templates/uwp_arm_debug.zip * && cd ..
76+
mkdir -p mono/release-${GODOT_VERSION}
77+
rm -rf mono/release-${GODOT_VERSION}/*linux*32*
12378

124-
cp out/uwp/x86/godot.uwp.opt.32.x86.exe uwp_template_Win32/godot.uwp.exe
125-
cp out/uwp/x86/godot.uwp.opt.debug.32.x86.exe uwp_template_Win32_debug/godot.uwp.exe
126-
sign uwp_template_Win32/godot.uwp.exe
127-
sign uwp_template_Win32_debug/godot.uwp.exe
128-
cd uwp_template_Win32 && zip -q -9 -r ../templates/uwp_x86_release.zip * && cd ..
129-
cd uwp_template_Win32_debug && zip -q -9 -r ../templates/uwp_x86_debug.zip * && cd ..
79+
mkdir -p Godot_v${GODOT_VERSION}_mono_x11_32
80+
cp out/linux/x86/tools-mono/godot.x11.opt.tools.32.mono Godot_v${GODOT_VERSION}_mono_x11_32/Godot_v${GODOT_VERSION}_mono_x11.32
81+
cp -rp out/linux/x86/tools-mono/GodotSharp/ Godot_v${GODOT_VERSION}_mono_x11_32
82+
cp -rp mono-glue/Api Godot_v${GODOT_VERSION}_mono_x11_32/GodotSharp/Api
83+
zip -r -q -9 Godot_v${GODOT_VERSION}_mono_x11_32.zip Godot_v${GODOT_VERSION}_mono_x11_32
84+
mv Godot_v${GODOT_VERSION}_mono_x11_32.zip mono/release-${GODOT_VERSION}
85+
rm -rf Godot_v${GODOT_VERSION}_mono_x11_32
13086

131-
cp out/uwp/x64/godot.uwp.opt.64.x64.exe uwp_template_x64/godot.uwp.exe
132-
cp out/uwp/x64/godot.uwp.opt.debug.64.x64.exe uwp_template_x64_debug/godot.uwp.exe
133-
sign uwp_template_x64/godot.uwp.exe
134-
sign uwp_template_x64_debug/godot.uwp.exe
135-
cd uwp_template_x64 && zip -q -9 -r ../templates/uwp_x64_release.zip * && cd ..
136-
cd uwp_template_x64_debug && zip -q -9 -r ../templates/uwp_x64_debug.zip * && cd ..
87+
mkdir -p mono/templates
88+
rm -rf mono/templates/*linux*32*
13789

138-
rm -rf uwp_template_*
90+
cp -rp out/linux/x86/templates-mono/data.mono.x11.32.* mono/templates/
91+
cp out/linux/x86/templates-mono/godot.x11.opt.debug.32.mono mono/templates/linux_x11_32_debug
92+
cp out/linux/x86/templates-mono/godot.x11.opt.32.mono mono/templates/linux_x11_32_release
13993

14094
# Windows
14195

@@ -280,6 +234,27 @@ chmod +x Godot_mono.app/Contents/MacOS/Godot
280234
zip -q -9 -r "mono/release-${GODOT_VERSION}/Godot_v${GODOT_VERSION}_mono_osx.64.zip" Godot_mono.app
281235
rm -rf Godot_mono.app
282236

237+
# Server
238+
239+
cp out/server/x64/templates/godot_server.x11.opt.64 Godot_v${GODOT_VERSION}_linux_server.64
240+
zip -q -9 Godot_v${GODOT_VERSION}_linux_server.64.zip Godot_v${GODOT_VERSION}_linux_server.64
241+
mv Godot_v${GODOT_VERSION}_linux_server.64.zip release-${GODOT_VERSION}
242+
rm Godot_v${GODOT_VERSION}_linux_server.64
243+
244+
cp out/server/x64/tools/godot_server.x11.opt.tools.64 Godot_v${GODOT_VERSION}_linux_headless.64
245+
zip -q -9 Godot_v${GODOT_VERSION}_linux_headless.64.zip Godot_v${GODOT_VERSION}_linux_headless.64
246+
mv Godot_v${GODOT_VERSION}_linux_headless.64.zip release-${GODOT_VERSION}
247+
rm Godot_v${GODOT_VERSION}_linux_headless.64
248+
249+
# Javascript
250+
251+
cp out/javascript/godot.javascript.opt.zip templates/webassembly_release.zip
252+
cp out/javascript/godot.javascript.opt.debug.zip templates/webassembly_debug.zip
253+
254+
# Android
255+
256+
cp out/android/*.apk templates
257+
283258
# iOS
284259

285260
cp -r git/misc/dist/ios_xcode ios_xcode
@@ -292,11 +267,42 @@ zip -q -9 -r ../templates/iphone.zip *
292267
cd ..
293268
rm -rf ios_xcode
294269

295-
# Android
296-
cp out/android/*.apk templates
270+
# UWP
297271

298-
# Javascript
299-
cp out/javascript/godot.javascript.opt.zip templates/webassembly_release.zip
300-
cp out/javascript/godot.javascript.opt.debug.zip templates/webassembly_debug.zip
272+
mkdir -p templates
273+
rm -f templates/uwp*
274+
rm -rf uwp_template_*
275+
276+
for arch in ARM Win32 x64; do
277+
cp -r git/misc/dist/uwp_template uwp_template_${arch}
278+
279+
cp angle/winrt/10/src/Release_${arch}/libEGL.dll \
280+
angle/winrt/10/src/Release_${arch}/libGLESv2.dll \
281+
uwp_template_${arch}/
282+
cp -r uwp_template_${arch} uwp_template_${arch}_debug
283+
done
284+
285+
cp out/uwp/arm/godot.uwp.opt.32.arm.exe uwp_template_ARM/godot.uwp.exe
286+
cp out/uwp/arm/godot.uwp.opt.debug.32.arm.exe uwp_template_ARM_debug/godot.uwp.exe
287+
sign uwp_template_ARM/godot.uwp.exe
288+
sign uwp_template_ARM_debug/godot.uwp.exe
289+
cd uwp_template_ARM && zip -q -9 -r ../templates/uwp_arm_release.zip * && cd ..
290+
cd uwp_template_ARM_debug && zip -q -9 -r ../templates/uwp_arm_debug.zip * && cd ..
291+
292+
cp out/uwp/x86/godot.uwp.opt.32.x86.exe uwp_template_Win32/godot.uwp.exe
293+
cp out/uwp/x86/godot.uwp.opt.debug.32.x86.exe uwp_template_Win32_debug/godot.uwp.exe
294+
sign uwp_template_Win32/godot.uwp.exe
295+
sign uwp_template_Win32_debug/godot.uwp.exe
296+
cd uwp_template_Win32 && zip -q -9 -r ../templates/uwp_x86_release.zip * && cd ..
297+
cd uwp_template_Win32_debug && zip -q -9 -r ../templates/uwp_x86_debug.zip * && cd ..
298+
299+
cp out/uwp/x64/godot.uwp.opt.64.x64.exe uwp_template_x64/godot.uwp.exe
300+
cp out/uwp/x64/godot.uwp.opt.debug.64.x64.exe uwp_template_x64_debug/godot.uwp.exe
301+
sign uwp_template_x64/godot.uwp.exe
302+
sign uwp_template_x64_debug/godot.uwp.exe
303+
cd uwp_template_x64 && zip -q -9 -r ../templates/uwp_x64_release.zip * && cd ..
304+
cd uwp_template_x64_debug && zip -q -9 -r ../templates/uwp_x64_debug.zip * && cd ..
305+
306+
rm -rf uwp_template_*
301307

302308
exit 0

build-server/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mkdir godot
1717
cd godot
1818
tar xf /root/godot.tar.gz --strip-components=1
1919

20-
$SCONS platform=server CC=$CC CXX=$CXX $OPTIONS tools=no target=release_debug
20+
$SCONS platform=server CC=$CC CXX=$CXX $OPTIONS tools=no target=release_debug
2121
$SCONS platform=server CC=$CC CXX=$CXX $OPTIONS tools=no target=release
2222
mkdir -p /root/out/templates
2323
cp -rvp bin/* /root/out/templates

build-windows/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tar xf /root/godot.tar.gz --strip-components=1
1717

1818
cp /root/mono-glue/*.cpp modules/mono/glue
1919

20-
$SCONS platform=windows bits=32 $OPTIONS tools=yes target=release_debug
20+
$SCONS platform=windows bits=32 $OPTIONS tools=yes target=release_debug
2121
mkdir -p /root/out/x86/tools
2222
cp -rvp bin/* /root/out/x86/tools
2323
rm -rf bin
@@ -33,7 +33,7 @@ mkdir -p /root/out/x86/tools-mono
3333
cp -rvp bin/* /root/out/x86/tools-mono
3434
rm -rf bin
3535

36-
$SCONS platform=windows bits=32 $OPTIONS $OPTIONS_MONO tools=no target=release_debug
36+
$SCONS platform=windows bits=32 $OPTIONS $OPTIONS_MONO tools=no target=release_debug
3737
$SCONS platform=windows bits=32 $OPTIONS $OPTIONS_MONO tools=no target=release
3838
mkdir -p /root/out/x86/templates-mono
3939
cp -rvp bin/* /root/out/x86/templates-mono

0 commit comments

Comments
 (0)