mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Default to 'dev' build
This commit is contained in:
parent
bd85c82dee
commit
61e7b402be
@ -11,10 +11,10 @@ function Print-Usage {
|
|||||||
Write-Output "Steve's UE4 Build Tool"
|
Write-Output "Steve's UE4 Build Tool"
|
||||||
Write-Output " This is a WIP, only builds for dev right now"
|
Write-Output " This is a WIP, only builds for dev right now"
|
||||||
Write-Output "Usage:"
|
Write-Output "Usage:"
|
||||||
Write-Output " ue4-build.ps1 [-mode:]<dev|test|prod> [[-src:]sourcefolder] [Options]"
|
Write-Output " ue4-build.ps1 [[-mode:]<dev|test|prod>] [[-src:]sourcefolder] [Options]"
|
||||||
Write-Output " "
|
Write-Output " "
|
||||||
Write-Output " -mode : Build mode (required)"
|
Write-Output " -mode : Build mode"
|
||||||
Write-Output " : dev = build Development Editor, dlls only"
|
Write-Output " : dev = build Development Editor, dlls only (default)"
|
||||||
Write-Output " : dev = build Development Editor locally for editor"
|
Write-Output " : dev = build Development Editor locally for editor"
|
||||||
Write-Output " : test = build Development and pacakge for test (TODO)"
|
Write-Output " : test = build Development and pacakge for test (TODO)"
|
||||||
Write-Output " : prod = build Shipping and package for production (TODO)"
|
Write-Output " : prod = build Shipping and package for production (TODO)"
|
||||||
@ -42,9 +42,7 @@ if ($help) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (-not $mode) {
|
if (-not $mode) {
|
||||||
Print-Usage
|
$mode = "dev"
|
||||||
Write-Output "ERROR: Required argument: mode"
|
|
||||||
Exit 3
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-not ($mode -in @('dev', 'test', 'prod'))) {
|
if (-not ($mode -in @('dev', 'test', 'prod'))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user