Files
gwin-skill/scripts/build_and_download.ps1
T

14 lines
398 B
PowerShell

param(
[Parameter(Mandatory = $true)]
[string]$ProjectDir,
[ValidateSet(2, 4, 5, 6)]
[int]$Operation = 2,
[string]$GowinRoot = ""
)
$ErrorActionPreference = "Stop"
$scripts = $PSScriptRoot
& (Join-Path $scripts "build.ps1") -ProjectDir $ProjectDir -GowinRoot $GowinRoot
& (Join-Path $scripts "download.ps1") -ProjectDir $ProjectDir -Operation $Operation -GowinRoot $GowinRoot