mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-10 00:45:47 -07:00
Fixes an issue on macOS Mojave that was patched in fa1c281e79.
The list of changes can be found under
build/premake/premake5/CHANGES.txt.
This was SVN commit r22021.
30 lines
351 B
Lua
30 lines
351 B
Lua
source = {}
|
|
sink = {}
|
|
pump = {}
|
|
filter = {}
|
|
|
|
-- source.chain
|
|
dofile("ex6.lua")
|
|
|
|
-- source.file
|
|
dofile("ex5.lua")
|
|
|
|
-- encode
|
|
require"mime"
|
|
encode = mime.encode
|
|
|
|
-- sink.chain
|
|
require"ltn12"
|
|
sink.chain = ltn12.sink.chain
|
|
|
|
-- wrap
|
|
wrap = mime.wrap
|
|
|
|
-- sink.file
|
|
sink.file = ltn12.sink.file
|
|
|
|
-- pump.all
|
|
dofile("ex10.lua")
|
|
|
|
-- run test
|
|
dofile("ex11.lua")
|