1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

fix using '--' flags in test and integration commands

This commit is contained in:
Robin Appelman 2026-05-07 18:40:17 +02:00
commit 9e080f0d54
2 changed files with 2 additions and 2 deletions

View file

@ -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/") {

View file

@ -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