summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-10-31 14:04:32 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-10-31 14:04:32 +0100
commitb6d8aaa44ad3e508ee71613e0bb5a6d1b33f441a (patch)
tree6dfcb59b72907f923a0b3f3530339be92c5723e5
parent64779b8b17341a5497ee21f3256e71cab821bf18 (diff)
parent197a35703d1ced53f71d6137b9133d2558d888d4 (diff)
downloadrules-cc-b6d8aaa44ad3e508ee71613e0bb5a6d1b33f441a.tar.gz
Merge branch 'just-rules' into rules
-rw-r--r--lint/RULES2
-rwxr-xr-xlint/call_lint2
2 files changed, 4 insertions, 0 deletions
diff --git a/lint/RULES b/lint/RULES
index 04ad230..e1000d9 100644
--- a/lint/RULES
+++ b/lint/RULES
@@ -67,6 +67,8 @@
, " - at key \"direct deps artifact names\" a list of all input"
, " artifacts that come from the target itself or are runfiles of a"
, " direct dependency."
+ , "- TMPDIR pointing to a directory location that can be used to"
+ , " create additional temporary files."
, "It is supposed to indicate by the exit code whether the file to lint"
, "complies with the given linting policy, with 0 meaning"
, "compliant."
diff --git a/lint/call_lint b/lint/call_lint
index ca7e4ef..fd2a244 100755
--- a/lint/call_lint
+++ b/lint/call_lint
@@ -24,6 +24,8 @@ export OUT="$(pwd)/out"
mkdir -p config
export CONFIG="$(pwd)/config"
export META="$(pwd)/meta.json"
+mkdir scratch
+export TMPDIR=$(realpath scratch)
cd work