-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrun.bat
More file actions
49 lines (43 loc) · 1.59 KB
/
run.bat
File metadata and controls
49 lines (43 loc) · 1.59 KB
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
39
40
41
42
43
44
45
46
47
48
49
@echo off
pushd .
cd Colonisation.StarSystems
copy /y systemsPopulated.json bin\debug\net8.0 >nul
if errorlevel 1 goto exit
copy /y systemsWithCoordinates.json bin\debug\net8.0 >nul
if errorlevel 1 goto exit
copy /y stations.json bin\debug\net8.0 >nul
if errorlevel 1 goto exit
cd bin\debug\net8.0
if "%~1"=="-skip" goto skip
echo Running "Colonisation.StarSystems" (may take several minutes)...
Colonisation.StarSystems
if errorlevel 1 goto exit
:skip
copy /y colonisationTargets.csv ..\..\..\ >nul
if errorlevel 1 goto exit
copy /y colonisationTargets.csv ..\..\..\..\Colonisation.Bodies >nul
if errorlevel 1 goto exit
copy /y colonisationTargets.csv ..\..\..\..\Colonisation.Bodies\bin\debug\net8.0 >nul
if errorlevel 1 goto exit
copy /y colonisationTargets.csv ..\..\..\..\Colonisation.Points >nul
if errorlevel 1 goto exit
copy /y colonisationTargets.csv ..\..\..\..\Colonisation.Points\bin\debug\net8.0 >nul
if errorlevel 1 goto exit
cd ..\..\..\..\Colonisation.Bodies\bin\debug\net8.0
echo Running "Colonisation.Bodies" (may take several minutes depending on EDSM's load)...
Colonisation.Bodies
if errorlevel 1 goto exit
copy /y systemBodies.json ..\..\..\ >nul
if errorlevel 1 goto exit
copy /y systemBodies.json ..\..\..\..\Colonisation.Points >nul
if errorlevel 1 goto exit
copy /y systemBodies.json ..\..\..\..\Colonisation.Points\bin\debug\net8.0 >nul
if errorlevel 1 goto exit
cd ..\..\..\..\Colonisation.Points\bin\debug\net8.0
echo Running "Colonisation.Points"...
Colonisation.Points
if errorlevel 1 goto exit
copy /y prioritisedColonisationTargets.csv ..\..\.. >nul
if errorlevel 1 goto exit
:exit
popd