summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-08-14 07:51:51 +0000
committerLars Wirzenius <liw@liw.fi>2020-08-14 07:51:51 +0000
commita6e9c1c04c5b85ddd43724243e300c9b3a8ee50b (patch)
treeb829645290de3915379be891dd77c81a487b930c /check
parent8fb1eba3225eacc9a56bd0422c2a3d323458b502 (diff)
parente0c099011fe902c52933992bc5e70c9a3e363c52 (diff)
downloadick-contractor-a6e9c1c04c5b85ddd43724243e300c9b3a8ee50b.tar.gz
Merge branch 'fix' into 'master'
fix: use files in srcdir for passing in manager address, env vars See merge request larswirzenius/contractor!19
Diffstat (limited to 'check')
-rwxr-xr-xcheck4
1 files changed, 3 insertions, 1 deletions
diff --git a/check b/check
index cde86a6..bc57b7a 100755
--- a/check
+++ b/check
@@ -4,4 +4,6 @@ set -eu
rm -f test.py
black --check contractor *.py
-CONTRACTOR_ADDRESS="$1" sp-codegen contractor.md -o test.py --run
+echo "$1" > test.address
+echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" > test.env
+sp-codegen contractor.md -o test.py --run