diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-07-31 20:23:35 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-07-31 20:23:35 -0500 |
commit | 47dc756fffb72ca26e5f3f46d96d47e78e11c62a (patch) | |
tree | ee82718dfbff0e0b70e40a4df7d9e173006c95fd | |
parent | 1b18f4d67e3dcd0dbb63613aad19e2c08809cb20 (diff) | |
download | lua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.tar.gz lua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.tar.bz2 lua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.zip |
Use new meta format
-rw-r--r-- | meta.lua | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,9 +21,9 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | |||
21 | 21 | ||
22 | local builds = {} | 22 | local builds = {} |
23 | for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do | 23 | for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do |
24 | table.insert(builds,{ | 24 | local name = "lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image |
25 | builds[name] = { | ||
25 | image = "image-" .. image, | 26 | image = "image-" .. image, |
26 | name = "lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image, | ||
27 | requires = { | 27 | requires = { |
28 | {"http", link}, | 28 | {"http", link}, |
29 | }, | 29 | }, |
@@ -35,6 +35,6 @@ for version, link, name, optimization, rel, flag, _, image in cartesian(lua_vers | |||
35 | env = { | 35 | env = { |
36 | CFLAGS = optimization .. " " .. flag, | 36 | CFLAGS = optimization .. " " .. flag, |
37 | }, | 37 | }, |
38 | }) | 38 | } |
39 | end | 39 | end |
40 | return builds | 40 | return builds |