You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build.cmd
+67-21Lines changed: 67 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,16 @@ echo.
8
8
9
9
rem -- default options values
10
10
echo This script can use these environment variables to customize its behavior :
11
+
echo ----------------------------------------
12
+
echo NOPAUSE if set to "true", will not pause at the end of the script (useful to chain calls to this script)
13
+
echo defaults to "false"
14
+
IF [%NOPAUSE%] == [] GOTO DefineDefaultNOPAUSE
15
+
goto DontDefineDefaultNOPAUSE
16
+
:DefineDefaultNOPAUSE
17
+
setNOPAUSE=false
18
+
:DontDefineDefaultNOPAUSE
19
+
echo current value is "%NOPAUSE%"
20
+
11
21
echo ----------------------------------------
12
22
echo VERBOSE_LOG_FLAG if set to "true", will create a mission with tracing enabled (meaning that, when run, it will log a lot of details in the dcs log file)
13
23
echo defaults to "false"
@@ -38,18 +48,6 @@ set SECURITY_DISABLED_FLAG=false
38
48
:DontDefineDefaultSECURITY_DISABLED_FLAG
39
49
echo current value is "%SECURITY_DISABLED_FLAG%"
40
50
41
-
echo ----------------------------------------
42
-
echo MISSION_FILE_SUFFIX (a string) will be appended to the mission file name to make it more unique
43
-
echo defaults to the current iso date
44
-
IF [%MISSION_FILE_SUFFIX%] == [] GOTO DefineDefaultMISSION_FILE_SUFFIX
echo SEVENZIP (a string) points to the 7za executable
55
53
echo defaults "7za", so it needs to be in the path
@@ -91,30 +89,69 @@ set DYNAMIC_SCRIPTS_PATH=%~dp0node_modules\veaf-mission-creation-tools\
91
89
echo current value is "%DYNAMIC_SCRIPTS_PATH%"
92
90
93
91
echo ----------------------------------------
92
+
echo DISABLE_C130_MODULE if set to "true", will create a mission with the requirement for the C130 module disabled (meaning that no one will be able to actually fly the thing, but people without the module will be able to connect)
93
+
echo defaults to "true"
94
+
IF [%DISABLE_C130_MODULE%] == [] GOTO DefineDefaultDISABLE_C130_MODULE
95
+
goto DontDefineDefaultDISABLE_C130_MODULE
96
+
:DefineDefaultDISABLE_C130_MODULE
97
+
setDISABLE_C130_MODULE=true
98
+
:DontDefineDefaultDISABLE_C130_MODULE
99
+
echo current value is "%DISABLE_C130_MODULE%"
100
+
101
+
echo ----------------------------------------
102
+
echo MISSION_FILE_SUFFIX1 (a string) will be appended to the mission file name to make it more unique
103
+
echo defaults to empty
104
+
IF [%MISSION_FILE_SUFFIX1%] == [] GOTO DefineDefaultMISSION_FILE_SUFFIX1
105
+
goto DontDefineDefaultMISSION_FILE_SUFFIX1
106
+
:DefineDefaultMISSION_FILE_SUFFIX1
107
+
setMISSION_FILE_SUFFIX1=
108
+
:DontDefineDefaultMISSION_FILE_SUFFIX1
109
+
echo current value is "%MISSION_FILE_SUFFIX1%"
110
+
111
+
echo ----------------------------------------
112
+
echo MISSION_FILE_SUFFIX2 (a string) will be appended to the mission file name to make it more unique
113
+
echo defaults to the current iso date
114
+
IF [%MISSION_FILE_SUFFIX2%] == [] GOTO DefineDefaultMISSION_FILE_SUFFIX2
0 commit comments