Files

27 lines
468 B
PowerShell

[CmdletBinding()]
param(
[switch]$IncludeReleaseSmoke
)
Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent (Split-Path -Parent $PSScriptRoot)
$xtaskManifest = Join-Path $repoRoot "xtask\Cargo.toml"
$arguments = @(
"cargo",
"run",
"--manifest-path",
$xtaskManifest,
"--",
"testing",
"strict-sweep"
)
if ($IncludeReleaseSmoke) {
$arguments += "--include-release-smoke"
}
rtk @arguments