Update build script with params

This commit is contained in:
Wes Carroll
2020-06-10 09:41:37 -04:00
parent 73540faeb9
commit 32403ec3e3
+5 -2
View File
@@ -1,3 +1,5 @@
param([validateSet("build", "release")]$operation = "build")
# Bootstrap the environment
$null = Get-PackageProvider -Name NuGet -ForceBootstrap
@@ -11,6 +13,7 @@ Invoke-PSDepend `
-Force `
-Import `
-Install `
-Tags 'Bootstrap'
-Tags 'Bootstrap' `
-ErrorAction Continue
Invoke-Build .
Invoke-Build $operation