-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.lua
50 lines (43 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
-- running with texlua
-- prepare a CTAN upload
-- reshaping the file tree
local lfs = require "lfs"
local function filecopy (source, dest)
end
local function build(t)
end
local function run_doc()
end
local function run_test()
end
local function write_filelist()
end
local map = {
["v0.0.9.2"] = {
date = "2019-12-28",
rundoc = {
{"lualatex", "doc/manual/barracuda.tex", 2},
{"lualatex", "doc/ga-graphic-asm/barracuda-ga-asm.tex", 2}
},
runtest = {
{"texlua", "test/"},
{"lualatex", "test/kkkk"}
},
ignore = {".aux", ".log", ".gz", ".out",},
files = {-- source --> destination
{"tex/lualatex/barracuda.sty", "barracuda.sty"},
{"INSTALL.txt", "INSTALL.txt"},
{"LICENSE.txt", "LICENSE.txt"},
{"README.md", "README.md"},
{"PLANNER.txt", "PLANNER.txt"},
{"test", "test"},
{"src", "src"},
{"doc/manual/image", "doc/image"},
{"doc/manual/barracuda.pdf", "doc/barracuda.pdf"},
{"doc/manual/barracuda.tex", "doc/barracuda.tex"},
{"doc/ga-graphic-asm/barracuda-ga-asm.pdf", "doc/barracuda-ga-asm.pdf"},
{"doc/ga-graphic-asm/barracuda-ga-asm.tex", "doc/barracuda-ga-asm.tex"},
{"doc/manual/barracuda-manual-tool.tex", "doc/barracuda-manual-tool.tex"},
},
},
}