wabbajack/Wabbajack.Lib/CompilationSteps/IncludeAll.cs

22 lines
535 B
C#
Raw Normal View History

using System.Threading.Tasks;
using Alphaleonis.Win32.Filesystem;
using Newtonsoft.Json;
2020-04-27 21:32:19 +00:00
using Wabbajack.Common;
namespace Wabbajack.Lib.CompilationSteps
{
public class IncludeAll : ACompilationStep
{
public IncludeAll(ACompiler compiler) : base(compiler)
{
}
public override async ValueTask<Directive?> Run(RawSourceFile source)
{
var inline = source.EvolveTo<InlineFile>();
2020-09-05 19:36:44 +00:00
inline.SourceDataFile = source.File;
return inline;
}
}
}