17 lines
380 B
PowerShell
17 lines
380 B
PowerShell
param(
|
|
[Parameter(ValueFromRemainingArguments = $true)]
|
|
[string[]]$DotnetArgs
|
|
)
|
|
|
|
$repoRoot = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path
|
|
$innerScript = Join-Path $repoRoot "journal-master\journal\scripts\dotnet-min.ps1"
|
|
|
|
if (-not (Test-Path $innerScript)) {
|
|
Write-Host "Missing script: $innerScript"
|
|
exit 2
|
|
}
|
|
|
|
& $innerScript @DotnetArgs
|
|
exit $LASTEXITCODE
|
|
|