diff --git a/.nuke/build.schema.json b/.nuke/build.schema.json index 17d978f..3e4fc59 100644 --- a/.nuke/build.schema.json +++ b/.nuke/build.schema.json @@ -76,8 +76,7 @@ "Compile", "Publish", "Release", - "Restore", - "Test" + "Restore" ] } }, @@ -95,8 +94,7 @@ "Compile", "Publish", "Release", - "Restore", - "Test" + "Restore" ] } }, diff --git a/build/Build.cs b/build/Build.cs index d5af441..fded0fc 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -123,20 +123,9 @@ class Build : NukeBuild ); }); - Target Test => - _ => - _.DependsOn(Compile) - .Executes(() => - { - DotNetTest( - s => - s.SetProjectFile(Solution).SetConfiguration(Configuration).EnableNoRestore().EnableNoBuild() - ); - }); - Target Publish => _ => - _.DependsOn(Test) + _.DependsOn(Compile) .Requires(() => Configuration.Equals(Configuration.Release)) .Executes(() => { @@ -145,6 +134,7 @@ class Build : NukeBuild s.SetProject(Solution.GetProject("lol2gltf")) .SetOutput(Lol2GltfPublishDirectory) .SetConfiguration(Configuration) + .EnableSelfContained() .EnablePublishSingleFile() .EnableNoRestore() .SetVersion(MinVer.Version)