Skip to content

Commit

Permalink
ci: adapt for l3build changes
Browse files Browse the repository at this point in the history
Global function `stdmain` was renamed to `main` since l3build 2021-05-05, see
latex3/l3build@789d006 (Drop loading build.lua directly, 2021-05-05).
  • Loading branch information
muzimuzhi committed Apr 8, 2024
1 parent 8413abc commit e6bc38f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.lua
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,10 @@ function hooked_bundleunpack(sourcedirs, sources)
end
end

local l3build_main = main

function main(target, names)
unhooked_bundleunpack = bundleunpack
bundleunpack = hooked_bundleunpack
stdmain(target, names)
l3build_main(target, names)
end

0 comments on commit e6bc38f

Please sign in to comment.