mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added All-Target to BuildTool
This commit is contained in:
Binary file not shown.
@@ -65,7 +65,7 @@ class ScriptCoreModule : Module
|
||||
|
||||
public override string Name => ModuleName;
|
||||
|
||||
public override List<Type> DependencyTypes => [typeof(SetupNethostModule)];
|
||||
public override List<Type> DependencyTypes => [typeof(SetupNethostModule), typeof(BeefWorkspaceModule)];
|
||||
|
||||
public override async Task<bool> Run(BuildInfo buildInfo)
|
||||
{
|
||||
@@ -120,7 +120,7 @@ class BeefWorkspaceModule : Module
|
||||
|
||||
public override string Name => ModuleName;
|
||||
|
||||
public override List<Type> DependencyTypes => [typeof(ScriptCoreModule), typeof(GlitchyEngineHelperModule)];
|
||||
public override List<Type> DependencyTypes => [typeof(GlitchyEngineHelperModule)];
|
||||
|
||||
public override async Task<bool> Run(BuildInfo buildInfo)
|
||||
{
|
||||
@@ -138,6 +138,18 @@ class BeefWorkspaceModule : Module
|
||||
}
|
||||
}
|
||||
|
||||
class AllModule : Module
|
||||
{
|
||||
public static readonly string ModuleName = "All";
|
||||
public override string Name => ModuleName;
|
||||
public override List<Type> DependencyTypes => [typeof(BeefWorkspaceModule), typeof(ScriptCoreModule)];
|
||||
|
||||
public override Task<bool> Run(BuildInfo buildInfo)
|
||||
{
|
||||
return Task.FromResult(true);
|
||||
}
|
||||
}
|
||||
|
||||
abstract class Module
|
||||
{
|
||||
public abstract string Name { get; }
|
||||
@@ -218,7 +230,7 @@ class Program
|
||||
|
||||
static async Task<int> Main(string[] args)
|
||||
{
|
||||
List<Module> modules = [new BeefWorkspaceModule(), new GlitchyEngineHelperModule(), new ScriptCoreModule(), new SetupNethostModule()];
|
||||
List<Module> modules = [new BeefWorkspaceModule(), new GlitchyEngineHelperModule(), new ScriptCoreModule(), new SetupNethostModule(), new AllModule()];
|
||||
|
||||
// Find dependencies
|
||||
foreach (Module module in modules)
|
||||
|
||||
@@ -5,17 +5,14 @@
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PublishAot>true</PublishAot>
|
||||
<PackAsTool>true</PackAsTool>
|
||||
<UserSecretsId>build-7f7a4354050726fe6f1b5cfd0a8592d0ee71bab853fc1c5c128d53981653347c</UserSecretsId>
|
||||
<StartupObject>BuildTool.Program</StartupObject>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<TrimMode>link</TrimMode>
|
||||
<UserSecretsId>build-7f7a4354050726fe6f1b5cfd0a8592d0ee71bab853fc1c5c128d53981653347c</UserSecretsId>
|
||||
|
||||
<DeploymentPath>$(SolutionDir)..</DeploymentPath>
|
||||
<PublishAot>true</PublishAot>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
|
||||
<DeploymentPath>$(SolutionDir)..</DeploymentPath>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user