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
/// This maps to the `variables` node in apax.yml.
67
+
/// </summary>
68
+
publicApaxVariables?Variables{get;set;}
69
+
64
70
/// <summary>
65
71
/// Creates new instance of <see cref="Apax"/>.
66
72
/// </summary>
@@ -103,6 +109,10 @@ public static Apax TryCreateApaxDto(string projectFile)
103
109
{
104
110
thrownewFileNotFoundException(
105
111
"'apax.yml' file was not found in the working directory. Make sure your current directory is simatic-ax project directory or provide source directory argument (for details see ixc --help)");
112
+
}
113
+
catch(YamlDotNet.Core.YamlExceptionex)
114
+
{
115
+
thrownewInvalidDataException($"Failed to process apax file: '{projectFile}' {ex.ToString()}");
"'apax.yml' file was not found in the working directory. Make sure your current directory is simatic-ax project directory or provide source directory argument (for details see ixc --help)");
136
146
}
137
147
}
148
+
}
149
+
150
+
/// <summary>
151
+
/// Represents the `variables` section of apax.yml.
152
+
/// </summary>
153
+
publicclassApaxVariables
154
+
{
155
+
/// <summary>
156
+
/// Values for APAX build arguments. Maps to the YAML key `APAX_BUILD_ARGS`.
0 commit comments