forked from Aviuz/PrisonLabor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
0. Compile.bat
38 lines (24 loc) · 863 Bytes
/
0. Compile.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
:: ========= Variables =========
SET target_directory=D:\Program Files\Steam\steamapps\common\RimWorld\Mods\PrisonLabor
:: ========= Build ==========
devenv "Source\PrisonLabor.sln" /build Debug
:: ========= Copy ==========
rd "%target_directory%" /s /q
mkdir "%target_directory%"
:: About
mkdir "%target_directory%\About"
xcopy "About\*.*" "%target_directory%\About" /e
:: Assemblies
mkdir "%target_directory%\Assemblies"
xcopy "Assemblies\*.*" "%target_directory%\Assemblies" /e
:: Defs
mkdir "%target_directory%\Defs"
xcopy "Defs\*.*" "%target_directory%\Defs" /e
:: Languages
mkdir "%target_directory%\Languages"
xcopy "Languages\*.*" "%target_directory%\Languages" /e
:: Textures
mkdir "%target_directory%\Textures"
xcopy "Textures\*.*" "%target_directory%\Textures" /e
:: changelog.txt
copy "changelog.txt" "%target_directory%\changelog.txt"