autotrek/.cdbrelease.lua

31 lines
741 B
Lua
Raw Normal View History

2019-10-03 20:12:08 -04:00
-- LUALOCALS < ---------------------------------------------------------
local math, tonumber
= math, tonumber
local math_floor
= math.floor
-- LUALOCALS > ---------------------------------------------------------
local stamp = tonumber("$Format:%at$")
if not stamp then return end
stamp = math_floor((stamp - 1540612800) / 60)
stamp = ("00000000" .. stamp):sub(-8)
2020-07-17 06:10:03 -04:00
-- luacheck: push
-- luacheck: globals config readtext readbinary
readtext = readtext or function() end
readbinary = readbinary or function() end
2019-10-03 20:12:08 -04:00
return {
user = "Warr1024",
pkg = "autotrek",
min = "5.0",
2020-07-17 06:10:03 -04:00
version = stamp .. "-$Format:%h$",
2021-02-27 18:46:16 -05:00
long_description = readtext('README.md'),
2020-07-17 06:10:03 -04:00
screenshots = {
readbinary('.cdb-screenshot.png')
}
2019-10-03 20:12:08 -04:00
}
2020-07-17 06:10:03 -04:00
-- luacheck: pop