Skip to content

Commit bae0567

Browse files
committed
[[ Bug 20173 ]] Build universal solution for LCFM
1 parent b393307 commit bae0567

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

buildbot.mk

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -286,22 +286,25 @@ distmac-extract:
286286
$(buildtool_command) --platform mac --stage fmpackage --debug; \
287287
$(buildtool_command) --platform win-x86 --stage fmpackage --debug; \
288288
$(buildtool_command) --platform win-x86_64 --stage fmpackage --debug; \
289+
$(buildtool_command) --platform universal --stage fmpackage --debug; \
289290
find . -maxdepth 1 -name 'LiveCodeForFM-Mac-*.fmp12' -print0 \
290291
| xargs -0 zip -r LiveCodeForFM-Mac-Solution.zip; \
291292
find . -maxdepth 1 -name 'LiveCodeForFM-Win-x86-*.fmp12' -print0 \
292293
| xargs -0 zip -r LiveCodeForFM-Win-x86-Solution.zip; \
293294
find . -maxdepth 1 -name 'LiveCodeForFM-Win-x86_64-*.fmp12' -print0 \
294295
| xargs -0 zip -r LiveCodeForFM-Win-x86_64-Solution.zip
296+
find . -maxdepth 1 -name 'LiveCodeForFM-[1-9]*.fmp12' -print0 \
297+
| xargs -0 zip -r LiveCodeForFM.zip \
295298
find . -maxdepth 1 -name 'LiveCodeForFM-*.fmp12' -print0 \
296299
| xargs -0 zip -r LiveCodeForFM-All-Solutions.zip
297300
find . -maxdepth 1 -name 'livecodeforfm-*.*' -print0 \
298-
| xargs -0 zip -r LiveCodeForFM-All-Plugins.zip
301+
| xargs -0 zip -r LiveCodeForFM-All-Plugins.zip \
299302
find . -maxdepth 1 -name 'livecodeforfm-*.fmplugin' -print0 \
300-
| xargs -0 zip -r LiveCodeForFM-Mac-Plugin.zip
303+
| xargs -0 zip -r LiveCodeForFM-Mac-Plugin.zip \
301304
find . -maxdepth 1 -name 'livecodeforfm-*.fmx' -print0 \
302-
| xargs -0 zip -r LiveCodeForFM-Win-x86-Plugin.zip
305+
| xargs -0 zip -r LiveCodeForFM-Win-x86-Plugin.zip \
303306
find . -maxdepth 1 -name 'livecodeforfm-*.fmx64' -print0 \
304-
| xargs -0 zip -r LiveCodeForFM-Win-x86_64-Plugin.zip
307+
| xargs -0 zip -r LiveCodeForFM-Win-x86_64-Plugin.zip \
305308
find . -maxdepth 1 -name 'LiveCodeForFM.fmp12' -print0 \
306309
| xargs -0 zip -r LiveCodeForFM-Solution.zip
307310

builder/builder_tool.livecodescript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on startup
3131
repeat while tArgIndex is among the keys of tArgs
3232
if tArgs[tArgIndex] is "--platform" then
3333
get tArgs[tArgIndex + 1]
34-
if it is not among the items of "windows,win,win-x86,win-x86_64,macosx,mac,linux,linux-x86,linux-x86_64" then
34+
if it is not among the items of "windows,win,win-x86,win-x86_64,macosx,mac,linux,linux-x86,linux-x86_64,universal" then
3535
__builderLog "error", "Unknown platform '" & tArgs[tArgIndex + 1] & "'"
3636
end if
3737
-- Hack the arch from the platform. This should really use

0 commit comments

Comments
 (0)