Repository navigation
Expand file tree
/
Copy pathrsconstruct.toml
More file actions
42 lines (34 loc) · 1.83 KB
/
Copy pathrsconstruct.toml
File metadata and controls
42 lines (34 loc) · 1.83 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
# generate README.md, .github/dependabot.yml and src/core/version.sh from
# tera.templates/. The analyzer tracks load_lua / version_str / include
# dependencies, so a change in config/*.lua or tera.snippets/ rebuilds the
# outputs. LICENSE and .github/workflows/build.yml are not generated.
[analyzer.tera]
# no dep_inputs needed: the configs are lua and read via load_lua(path="...")
# and version_str(path="..."), which the tera analyzer discovers and
# content-tracks by itself.
[processor.generator.tera]
src_dirs = ["tera.templates"]
# shellcheck every shell file in the repo. --external-sources is needed because
# plugins source files outside the repo (e.g. plugins/git.sh sources the system
# git completion). .shellcheckrc is a tracked dependency by default.
[processor.checker.shellcheck]
src_dirs = ["src", "scripts"]
src_extensions = [".sh"]
args = ["--shell=bash", "--external-sources"]
# run the test suite whenever any shell file changes. test_all.sh takes no
# arguments and ignores the file list the checker passes it.
[processor.checker.script.test_all]
command = "scripts/test_all.sh"
src_dirs = ["src", "scripts"]
src_extensions = [".sh"]
batch = true
# lint the GitHub Actions workflow files with actionlint
[processor.checker.iactionlint]
src_dirs = [".github/workflows"]
# ─── markdown ────────────────────────────────────────────────────────────────
[processor.checker.rumdl]
src_dirs = ["doc"]
src_files = ["CLAUDE.md", "README.md"]
# ─── lua ─────────────────────────────────────────────────────────────────────
[processor.checker.iluacheck]
src_dirs = ["config"]