Nuke.Unreal
Build Unreal apps in Style.
Loading...
Searching...
No Matches
UnrealProject.cs
1using System;
2using Nuke.Common;
3using Nuke.Common.IO;
4
6{
8 {
9 public UnrealProject(
10 AbsolutePath currentFolder,
11 string? throwIfNotFound = null
12 ) : base(currentFolder, throwIfNotFound) {}
13
14 public UnrealProject(IUnrealBuild build) : base(
15 build.ProjectFolder,
16 "Project folder couldn't be determined from build class"
17 ) {}
18
19 protected override bool FilePredicate(AbsolutePath f) => f.Name.EndsWith(".uproject", true, null);
20 }
21}
Base interface for build components which require an UnrealBuild main class.
AbsolutePath ProjectFolder
Path to folder containing the .project file.