-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
executable file
·96 lines (96 loc) · 4.02 KB
/
build.lua
File metadata and controls
executable file
·96 lines (96 loc) · 4.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
-- $Id: build.lua 11797 2026-03-21 16:01:38Z cfrees $
-- Build configuration for chronos
--------------------------------------------------------------------------------
maindir = maindir or "."
sourcedir = sourcedir or maindir
--------------------------------------------------------------------------------
ctanpkg = "chronos"
module = "chronos"
--------------------------------------------------------------------------------
checkconfigs = { "build", "config-mem", "config-refs", "config-xetex", "config-info" }
checkengines = { "pdftex", "luatex" }
checkopts = "-interaction=nonstopmode -cnf-line='TEXMFHOME=.' -cnf-line='TEXMFLOCAL=.' -cnf-line='TEXMFARCH=.'"
excludetests = { "chronos-scratch", "chronos-egs" }
-- indexstyle = "gind.ist"
manifestfile = "manifest.txt"
-- sourcefiles = {"*.dtx","*.ins","chronos.tex"}
sourcefiles = {"*.dtx","*.ins"}
tagfiles = { "*.dtx", "README.md", "build.lua", "*.sty", "chronos.tex", "manifest.txt" }
typesetfiles = {"*-doc.tex", "*-imp.tex"}
typesetopts = "-interaction=nonstopmode -cnf-line='TEXMFHOME=.' -cnf-line='TEXMFLOCAL=.' -cnf-line='TEXMFARCH=.'"
typesetruns = 5 -- 4
--------------------------------------------------------------------------------
uploadconfig = {
ctanPath = "/macros/latex/contrib/chronos",
pkg = "chronos",
version = "v0.9.4",
author = "Clea F. Rees",
uploader = "Clea F. Rees",
license = "lppl1.3c",
update = true,
summary = "TikZ-based package for drawing customisable timelines with support for colour schemes, styles and memoization.",
description = "The package supports drawing timelines and aims to be highly customisable. Extensive configuration options are offered via a standard key-value interface based on pgfkeys. Custom colour schemes and styles are supported, and the package includes documented examples of each. Memoization works out-of-the-box if the memoize package is loaded. The code was developed as a result of questions concerning difficulties in customising the output of existing packages for drawing timelines, which sometimes eschew pgfkeys and are often challenging to configure, even when based on PGF/TikZ.",
bugtracker = "https://codeberg.org/cfr/chronos/issues",
repository = {"https://codeberg.org/cfr/chronos", "https://github.com/cfr42/chronos"},
topic = {"diagrams", "pgf-tikz", "expl3", "calendar"},
-- note = "",
}
--------------------------------------------------------------------------------
date = "2023-2026"
if direxists(sourcedir .. "/../adnoddau/l3build") then
dofile(sourcedir .. "/../adnoddau/l3build/tag.lua")
end
if fileexists(maindir .. "/manifest.lua") then
dofile(maindir .. "/manifest.lua")
elseif direxists(sourcedir .. "/../adnoddau/l3build") then
dofile(sourcedir .. "/../adnoddau/l3build/manifest.lua")
end
if man ~= nil then
function manifest_setup ()
unpack()
local buildscripts,moretests,srcchksuppfiles = man.list_tests()
local groups = {
{
subheading = "Source files",
},
{
name = "Package files",
dir = sourcefiledir,
files = {"*.dtx","*.ins","*.md"},
exclude = {derivedfiles},
},
{
name = "Development files",
dir = testfiledir,
files = {"*" .. lvtext, "*" .. lveext, "*" .. tlgext, "*" .. pvtext, "*" .. tpfext, "*.dtx", "*.ins", "*.tex"},
description = buildscripts .. srcchksuppfiles .. moretests,
exclude = {"chronos-scratch.*","chronos-egs.tlg"},
},
{
subheading = "Derived files",
},
{
name = "Package files",
dir = unpackdir,
files = {"*.cls","*.sty","*.tex","*.txt"},
exclude = sourcefiles,
description = "* manifest.txt",
},
{
name = "Typeset documentation",
-- files = {typesetfiles,typesetdemofiles},
files = {"*.pdf"},
exclude = {".","..","chronos-eg.pdf"},
dir = sourcefiledir,
-- rename = {"%.%w+$",".pdf"},
},
}
return groups
end
else
function manifest_setup ()
print("Warning: Cannot build manifest here.")
return 1
end
end
-- vim: ts=2:sw=2:et: