nc_regression/.cdbrelease.lua

28 lines
756 B
Lua
Raw Normal View History

2020-02-18 18:43:03 -08:00
-- LUALOCALS < ---------------------------------------------------------
local math, tonumber
= math, tonumber
local math_floor
= math.floor
-- LUALOCALS > ---------------------------------------------------------
2020-07-05 11:49:19 -07:00
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
2020-02-18 18:43:03 -08:00
local stamp = tonumber("$Format:%at$")
if not stamp then return end
stamp = math_floor((stamp - 1540612800) / 60)
stamp = ("00000000" .. stamp):sub(-8)
return {
user = "Warr1024",
pkg = "nc_regression",
2021-12-26 11:09:26 -08:00
dev_state = "ACTIVELY_DEVELOPED",
2020-07-05 11:49:19 -07:00
version = stamp .. "-$Format:%h$",
2021-02-27 16:36:26 -08:00
long_description = readtext("README.md"),
2020-07-05 11:49:19 -07:00
screenshots = {readbinary('.cdbscreen.jpg')}
2020-02-18 18:43:03 -08:00
}
2020-07-05 11:49:19 -07:00
-- luacheck: pop