summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-07-31 20:23:35 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-07-31 20:23:35 -0500
commit47dc756fffb72ca26e5f3f46d96d47e78e11c62a (patch)
treeee82718dfbff0e0b70e40a4df7d9e173006c95fd
parent1b18f4d67e3dcd0dbb63613aad19e2c08809cb20 (diff)
downloadlua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.tar.gz
lua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.tar.bz2
lua-packaging-47dc756fffb72ca26e5f3f46d96d47e78e11c62a.zip
Use new meta format
-rw-r--r--meta.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta.lua b/meta.lua
index 0a09b43..2f0e1e9 100644
--- a/meta.lua
+++ b/meta.lua
@@ -21,9 +21,9 @@ local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]}
21 21
22local builds = {} 22local builds = {}
23for version, link, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do 23for 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 }
39end 39end
40return builds 40return builds