19 lines
No EOL
783 B
C#
19 lines
No EOL
783 B
C#
using PluginCommon;
|
|
|
|
namespace Packager.Parameters
|
|
{
|
|
/// <summary>
|
|
/// This is a mockup of the actual configuration class, but only initializes the data members needed to run single tasks.
|
|
/// It does not contain the task list to be executed, unlike the BuildConfiguration class.
|
|
/// More properties can be instantiated from this class as there is a need to do so, in testing any of the task.
|
|
/// </summary>
|
|
public class TestBuildConfiguration : BuildConfiguration
|
|
{
|
|
public TestBuildConfiguration(string[] args)
|
|
{
|
|
var commandLineArgs = new CommandLineArgs(args);
|
|
DataVersion = commandLineArgs.getIntValue("dataversion", 0);
|
|
PlatformList.Add(commandLineArgs.getStringValue("platform"));
|
|
}
|
|
}
|
|
} |