From 9e080f0d544da3950337baf966068cc08246c0e1 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 7 May 2026 18:40:17 +0200 Subject: [PATCH] fix using '--' flags in test and integration commands --- nix/image/scripts/integration | 2 +- nix/image/scripts/tests | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/image/scripts/integration b/nix/image/scripts/integration index 32a9708..d8187d9 100755 --- a/nix/image/scripts/integration +++ b/nix/image/scripts/integration @@ -1,6 +1,6 @@ #!/bin/nu -def main [feature: path, ...rest] { +def --wrapped main [feature: path, ...rest] { mut feature = $feature; mut workdir = $"($env.WEBROOT)/build/integration" if ($feature | str starts-with "apps/") { diff --git a/nix/image/scripts/tests b/nix/image/scripts/tests index 524172c..868f225 100755 --- a/nix/image/scripts/tests +++ b/nix/image/scripts/tests @@ -1,6 +1,6 @@ #!/bin/nu -def main [...rest] { +def --wrapped main [...rest] { cd $env.WEBROOT XDEBUG_SESSION=haze phpunit --configuration $"($env.WEBROOT)/tests/phpunit-autotest.xml" ...$rest