Skip to content

Commit 68d587b

Browse files
committed
Add additional tasks to justfile
1 parent 9c6db41 commit 68d587b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

justfile

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@ set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
22

33
BuildBat := "../../../Engine/Build/BatchFiles/Build.bat"
44
Platform := "Win64"
5+
Version := "1.0-alpha.0"
56

67
build:
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

Comments
 (0)