Update build script with params
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
param([validateSet("build", "release")]$operation = "build")
|
||||||
|
|
||||||
# Bootstrap the environment
|
# Bootstrap the environment
|
||||||
$null = Get-PackageProvider -Name NuGet -ForceBootstrap
|
$null = Get-PackageProvider -Name NuGet -ForceBootstrap
|
||||||
|
|
||||||
@@ -11,6 +13,7 @@ Invoke-PSDepend `
|
|||||||
-Force `
|
-Force `
|
||||||
-Import `
|
-Import `
|
||||||
-Install `
|
-Install `
|
||||||
-Tags 'Bootstrap'
|
-Tags 'Bootstrap' `
|
||||||
|
-ErrorAction Continue
|
||||||
|
|
||||||
Invoke-Build .
|
Invoke-Build $operation
|
||||||
|
|||||||
Reference in New Issue
Block a user