mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
33 lines
521 B
C#
33 lines
521 B
C#
using Microsoft.Build.Framework;
|
|
|
|
using Cosmos.Build.Common;
|
|
|
|
namespace Cosmos.Build.MSBuild {
|
|
public class MakeISO : BaseToolTask {
|
|
|
|
#region Properties
|
|
[Required]
|
|
public string InputFile {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[Required]
|
|
public string OutputFile {
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[Required]
|
|
public string CosmosBuildDir {
|
|
get;
|
|
set;
|
|
}
|
|
#endregion
|
|
|
|
public override bool Execute() {
|
|
IsoMaker.Generate(InputFile, OutputFile);
|
|
return true;
|
|
}
|
|
}
|
|
}
|