summaryrefslogtreecommitdiff
path: root/run-tests
diff options
context:
space:
mode:
authorKlaus T. Aehlig <aehlig@linta.de>2024-06-27 16:30:53 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-27 16:30:53 +0200
commit866e07a8baa21707ec73109b6e502af4fe4c41bf (patch)
tree67386b8a9812b2b49a8aa8fa976505dedfa814e1 /run-tests
parent05b2d6fc51146fe07340a58bc87fbbd99e788143 (diff)
downloadhello-nix-866e07a8baa21707ec73109b6e502af4fe4c41bf.tar.gz
nix-shell: also add a wrapper script besides the alias
... as aliases are not honored in `nix-shell --run`. In this way, we can add an outer script running all the tests in the correct environment.
Diffstat (limited to 'run-tests')
-rwxr-xr-xrun-tests1
1 files changed, 1 insertions, 0 deletions
diff --git a/run-tests b/run-tests
new file mode 100755
index 0000000..c3d4938
--- /dev/null
+++ b/run-tests
@@ -0,0 +1 @@
+nix-shell --run "withRc-just-mr --main test build"