-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrsconstruct.toml
More file actions
27 lines (24 loc) · 1.15 KB
/
Copy pathrsconstruct.toml
File metadata and controls
27 lines (24 loc) · 1.15 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
# generate README.md, LICENSE, requirements.thawed.txt, the github workflow and
# src/core/version.sh from tera.templates/. The analyzer tracks load_python /
# version_str / include dependencies, so a change in config/*.py or
# tera.snippets/ rebuilds the outputs.
[analyzer.tera]
# no dep_inputs needed: the configs are lua and read via load_lua(path="..."),
# which the tera analyzer discovers and content-tracks by itself. The templates
# deliberately avoid version_str(), which the analyzer does not scan for.
[processor.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.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.script.test_all]
command = "scripts/test_all.sh"
src_dirs = ["src", "scripts"]
src_extensions = [".sh"]
batch = true