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:
parent
512b669a7c
commit
9e080f0d54
2 changed files with 2 additions and 2 deletions
|
|
@ -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/") {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue