@@ -2,6 +2,31 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
22
33BuildBat := " ../../../Engine/Build/BatchFiles/Build.bat"
44Platform := " Win64"
5+ Version := " 1.0-alpha.0"
56
67build :
78 & {{ BuildBat }} UnrealTournamentEditor {{ Platform }} Debug -waitmutex
9+
10+ build-editor :
11+ & {{ BuildBat }} UnrealTournamentEditor {{ Platform }} Development -waitmutex
12+
13+ build-game :
14+ & {{ BuildBat }} UnrealTournament {{ Platform }} Shipping -waitmutex
15+
16+ package :
17+ If (Test-Path Release/ {{ Version }}) { Remove-Item Release/ {{ Version }} -Recurse | Out-Null }
18+ If (Test-Path Release/ UT4-UltiCross-{{ Version }}.zip) { Remove-Item Release/ UT4-UltiCross-{{ Version }} .zip | Out-Null }
19+ New-Item Release/ {{ Version }} -ItemType Directory | Out-Null
20+ New-Item Release/ {{ Version }} / UnrealTournament -ItemType Directory | Out-Null
21+ New-Item Release/ {{ Version }} / UnrealTournament/ Plugins -ItemType Directory | Out-Null
22+ New-Item Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross -ItemType Directory | Out-Null
23+ New-Item Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross/ Binaries -ItemType Directory | Out-Null
24+ New-Item Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross/ Binaries/ {{ Platform }} -ItemType Directory | Out-Null
25+ New-Item Release/ {{ Version }} / UnrealTournament/ Content -ItemType Directory | Out-Null
26+ New-Item Release/ {{ Version }} / UnrealTournament/ Content/ Paks -ItemType Directory | Out-Null
27+ New-Item Release/ {{ Version }} / UnrealTournament/ Content/ Paks/ UltiCross -ItemType Directory | Out-Null
28+ Copy-Item UltiCross.uplugin Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross/
29+ Copy-Item Binaries/ Win64 / UE4-UltiCross-{{ Platform }} -Shipping.dll Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross/ Binaries/ {{ Platform }} /
30+ Copy-Item Binaries/ Win64 / UE4Editor-UltiCross.dll Release/ {{ Version }} / UnrealTournament/ Plugins/ UltiCross/ Binaries/ {{ Platform }} /
31+ Copy-Item Content/ Paks/ *.pak Release/ {{ Version }} / UnrealTournament/ Content/ Paks/ UltiCross/
32+ cd Release/ {{ Version }} ; Compress-Archive UnrealTournament ../ UT4-UltiCross-{{ Version }} .zip
0 commit comments