Fix example/uwp/build.ps1
GitOrigin-RevId: 264c603985c76e78d28261fe632c9c6924494632
This commit is contained in:
parent
9efa9a49d9
commit
834289efa1
|
@ -1,7 +1,7 @@
|
|||
param (
|
||||
[string]$vcpkg_root = $(throw "-vcpkg_root=<path to vcpkg> is required"),
|
||||
[string]$arch = "",
|
||||
[string]$mode = "all"
|
||||
[string]$mode = "all",
|
||||
[string]$compress = "7z"
|
||||
)
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
@ -119,6 +119,9 @@ function export {
|
|||
function run {
|
||||
Push-Location
|
||||
Try {
|
||||
if ($mode -eq "clean") {
|
||||
clean
|
||||
}
|
||||
if (($mode -eq "prepare") -or ($mode -eq "all")) {
|
||||
prepare
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user