#!/bin/nu

def --wrapped main [...rest] {
    cd $env.WEBROOT

    XDEBUG_SESSION=haze phpunit --configuration $"($env.WEBROOT)/tests/phpunit-autotest.xml" ...$rest
}
