-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.lua
36 lines (33 loc) · 1.18 KB
/
build.lua
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
-- SPDX-FileCopyrightText: Copyright (c) 2021-2025 Yegor Bugayenko
-- SPDX-License-Identifier: MIT
module = "crumbs"
ctanupload = true
typesetopts = "-interaction=batchmode -shell-escape -halt-on-error"
checkopts = "-interaction=batchmode -shell-escape -halt-on-error"
tagfiles = {"build.lua", "crumbs.dtx"}
dynamicfiles = {"*.crumbs"}
uploadconfig = {
pkg = "crumbs",
version = "0.0.0",
author = "Yegor Bugayenko",
uploader = "Yegor Bugayenko",
email = "[email protected]",
note = "Bug fixes",
announcement = "Some non-critical bug fixes",
ctanPath = "/macros/latex/contrib/crumbs",
bugtracker = "https://github.com/yegor256/crumbs/issues",
home = "",
description = "This package adds a navigation path (“breadcrumb trail”) at the header of a presentation, just like some websites do in order to simplify navigation.",
development = "",
license = "mit",
summary = "Add a Navigation Path to the page header",
repository = "https://github.com/yegor256/crumbs",
support = "",
topic = "headings"
}
function update_tag(file, content, tagname, tagdate)
return string.gsub(
string.gsub(content, "0%.0%.0", tagname),
"0000/00/00", os.date("%Y/%m/%d")
)
end