fix(shorebird_cli): update powershell script to exit on errors (#1060)

This commit is contained in:
Bryan Oltman
2023-08-08 13:47:44 -04:00
committed by GitHub
parent 873e8b4c81
commit 00da93e0de
+2
View File
@@ -1,6 +1,8 @@
# This is the windows equivalent of the `third_party/flutter/bin/internal/shared.sh` script
# compiles `shorebird_cli/bin/shorebird_cli.dart` to `bin/cache/shorebird.shapshot`
$ErrorActionPreference = "Stop"
# We are running from $shorebirdRootDir\bin
$shorebirdBinDir = (Get-Item $PSScriptRoot).FullName
$shorebirdRootDir = (Get-Item $shorebirdBinDir\..\).FullName