diff options
Diffstat (limited to 'meta.lua')
-rw-r--r-- | meta.lua | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,7 @@ | |||
1 | local package_versions = { | ||
2 | ["scm-1"] = true, | ||
3 | ["0.12.1-1"] = true | ||
4 | } | ||
1 | local lua_versions = { | 5 | local lua_versions = { |
2 | ["51"] = true, | 6 | ["51"] = true, |
3 | ["52"] = true, | 7 | ["52"] = true, |
@@ -20,7 +24,7 @@ local debug = { | |||
20 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} | 24 | local compilers = {--[["mingw32",]]"mingw64"--[[,"clang32","clang64"]]} |
21 | 25 | ||
22 | local builds = {} | 26 | local builds = {} |
23 | for version, _, name, optimization, rel, flag, _, image in cartesian(lua_versions, optimizations, debug, compilers) do | 27 | for package_version, _, version, _, name, optimization, rel, flag, _, image in cartesian(package_versions, lua_versions, optimizations, debug, compilers) do |
24 | local buildname = "lua-compat-53-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image | 28 | local buildname = "lua-compat-53-" .. version .. "-" .. name .. "-" .. rel .. "-" .. image |
25 | builds[buildname] = { | 29 | builds[buildname] = { |
26 | image = "image-luarocks-" .. version.. "-" .. image, | 30 | image = "image-luarocks-" .. version.. "-" .. image, |
@@ -30,11 +34,12 @@ for version, _, name, optimization, rel, flag, _, image in cartesian(lua_version | |||
30 | {"cicd","lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image .. ":lua" .. version .. ".dll"}, | 34 | {"cicd","lua" .. version .. "-" .. name .. "-" .. rel .. "-" .. image .. ":lua" .. version .. ".dll"}, |
31 | }, | 35 | }, |
32 | produces = { | 36 | produces = { |
33 | ["compat53-scm-1.mingw32-x86_64.rock"] = {"luarocks.sh", "compat53", image, version, name, rel}, | 37 | ["compat53-" .. package_version .. ".mingw32-x86_64.rock"] = {"luarocks.sh", "compat53", image, version, name, rel}, |
34 | ["bit32-scm-1.mingw32-x86_64.rock"] = {"luarocks.sh", "bit32", image, version, name, rel}, | 38 | ["bit32-" .. package_version .. ".mingw32-x86_64.rock"] = {"luarocks.sh", "bit32", image, version, name, rel}, |
35 | }, | 39 | }, |
36 | env = { | 40 | env = { |
37 | CFLAGS = optimization .. " " .. flag, | 41 | CFLAGS = optimization .. " " .. flag, |
42 | packver = package_version, | ||
38 | rockver = version:gsub("(%d)(%d)$","%1.%2"), | 43 | rockver = version:gsub("(%d)(%d)$","%1.%2"), |
39 | version = version | 44 | version = version |
40 | }, | 45 | }, |