Skip to content

Commit 9840752

Browse files
authored
Merge pull request #12 from ricaun-io/develop
Update to 0.0.10
2 parents f1c7f3d + 937c47c commit 9840752

18 files changed

+80
-22
lines changed

Build/.nuke/build.schema.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"VSCode"
3838
]
3939
},
40+
"MainProject": {
41+
"type": "string"
42+
},
4043
"Name": {
4144
"type": "string"
4245
},

Build/Build.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
<None Include="..\.github\workflows\*.yml" LinkBase="ci" />
2020
</ItemGroup>
2121

22-
<ItemGroup>
23-
<None Remove="Build.cs~RF299b4df2.TMP" />
24-
</ItemGroup>
25-
2622
<ItemGroup>
2723
<ProjectReference Include="..\ricaun.Nuke\ricaun.Nuke.csproj" />
2824
</ItemGroup>

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.0.10] / 2021-12-17
8+
- Change Base Release `.nupkg` or full folder
9+
- Fix HazSolutionExtension
10+
- Add GetMainProject on IHazMainProject
11+
- private GetMainProject
12+
- Add HazSolutionExtension
13+
- Add HazMainProjectExtension
14+
- Add IHazMainProject
15+
- Rename Example Folder Project
16+
717
## [0.0.9] / 2021-12-17
818
- Clear Build
919
- Test Native Example Compile
@@ -66,6 +76,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6676
- First Release
6777

6878
[vNext]: https://github.com/ricaun-io/ricaun.Nuke/compare/1.0.0...HEAD
79+
[0.0.10]: https://github.com/ricaun-io/ricaun.Nuke/compare/0.0.9...0.0.10
80+
[0.0.9]: https://github.com/ricaun-io/ricaun.Nuke/compare/0.0.8...0.0.9
6981
[0.0.8]: https://github.com/ricaun-io/ricaun.Nuke/compare/0.0.7...0.0.8
7082
[0.0.7]: https://github.com/ricaun-io/ricaun.Nuke/compare/0.0.6...0.0.7
7183
[0.0.6]: https://github.com/ricaun-io/ricaun.Nuke/compare/0.0.5...0.0.6
File renamed without changes.
File renamed without changes.

ricaun.Nuke.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project", "Project", "{4EED
1313
README.md = README.md
1414
EndProjectSection
1515
EndProject
16-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ricaun.Nuke.Example", "Examples\ricaun.Nuke.Example.csproj", "{027171E5-2FB6-4A4C-A8DE-F3E148B47FFB}"
16+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ricaun.Nuke.Example", "ricaun.Nuke.Examples\ricaun.Nuke.Example.csproj", "{027171E5-2FB6-4A4C-A8DE-F3E148B47FFB}"
1717
EndProject
1818
Global
1919
GlobalSection(SolutionConfigurationPlatforms) = preSolution

ricaun.Nuke/Components/ICompile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
namespace ricaun.Nuke.Components
55
{
6-
public interface ICompile : IClean, IHazSolution, INukeBuild
6+
public interface ICompile : IClean, IHazMainProject, IHazSolution, INukeBuild
77
{
88
Target Compile => _ => _
99
.DependsOn(Clean)
1010
.Executes(() =>
1111
{
12-
Solution.BuildMainProject();
12+
Solution.BuildProject(MainProject);
1313
});
1414
}
1515
}

ricaun.Nuke/Components/ICompileExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public interface ICompileExample : IHazExample, ICompile, ISign, IRelease, IHazC
1010
.Before(Sign)
1111
.Executes(() =>
1212
{
13-
Solution.BuildOtherProject(GetExampleProject(), (project) =>
13+
Solution.BuildProject(GetExampleProject(), (project) =>
1414
{
1515
SignProject(project);
1616
var folder = ExampleDirectory;

ricaun.Nuke/Components/IGitRelease.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public interface IGitRelease : IRelease, IHazGitRepository, IHazGitVersion, IHaz
2020
.OnlyWhenDynamic(() => GitRepository.IsOnMainOrMasterBranch())
2121
.Executes(() =>
2222
{
23-
var project = Solution.GetMainProject();
23+
var project = MainProject;
2424

2525
if (Directory.Exists(ReleaseDirectory) == false)
2626
{

ricaun.Nuke/Components/IHazContent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
using ricaun.Nuke.Extensions;
77
namespace ricaun.Nuke.Components
88
{
9-
public interface IHazContent : IHazSolution, INukeBuild
9+
public interface IHazContent : IHazMainProject, IHazSolution, INukeBuild
1010
{
1111
/// <summary>
1212
/// Folder Content
1313
/// </summary>
1414
[Parameter]
1515
string Folder => ValueInjectionUtility.TryGetValue(() => Folder) ?? "Content";
16-
AbsolutePath ContentDirectory => GetContentDirectory(Solution.GetMainProject());
16+
AbsolutePath ContentDirectory => GetContentDirectory(MainProject);
1717
public AbsolutePath GetContentDirectory(Project project) => project.Directory / "bin" / Folder;
1818
}
1919
}

0 commit comments

Comments
 (0)