-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
51 lines (40 loc) · 1.82 KB
/
build.lua
File metadata and controls
51 lines (40 loc) · 1.82 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
-- l3build configuration for codependent
-- Run: l3build check -- regression tests
-- l3build save <name> -- generate/update .tlg for a test
-- l3build doc -- build documentation
-- l3build ctan -- package for CTAN submission
module = "codependent"
-- Source files
sourcefiles = {"codependent.sty"}
-- Test directory: l3build expects a flat dir with .lvt + .tlg files.
-- Our tests live in testfiles/unit/ and testfiles/integration/ for the
-- custom runner (scripts/run-tests.py). Symlinks in testfiles/ point to those
-- subdirectories so l3build can discover them.
testfiledir = "testfiles"
-- Primary engine: pdftex (we only test pdflatex)
checkengines = {"pdftex"}
-- Load regression-test.tex automatically before each .lvt file.
-- Standard l3build practice is `\input regression-test` in every .lvt,
-- but the custom runner (scripts/run-tests.py) injects its own \START/\END
-- no-ops and would break if regression-test.tex redefines \END to
-- call \@@end. Using tokens= lets l3build prepend the load while
-- keeping the .lvt files runner-agnostic.
specialformats = specialformats or {}
specialformats.latex = specialformats.latex or {}
specialformats.latex.pdftex = {
tokens = "\\input regression-test\\relax "
}
-- Multiple compilation runs for cross-reference convergence.
-- Most tests need 2-3 runs for aux/sbl stabilisation.
checkruns = 3
-- Check options: nonstop mode
checkopts = "-interaction=nonstopmode"
-- Exclude the lualatex-specific test (it tests engine compat, not package logic;
-- running it under pdftex defeats its purpose).
excludetests = {"test-engine-lualatex"}
-- Documentation sources (none yet -- will be codependent.dtx when converted)
-- docfiles = {"codependent.dtx"}
-- Files to install
installfiles = {"codependent.sty"}
-- CTAN metadata
ctanpkg = "codependent"