-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated template with common configuration files that should be show …
…in visual studio
- Loading branch information
1 parent
3bd7e2d
commit d9953a5
Showing
8 changed files
with
84 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<_NukeRoot>$([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildProjectFullPath)', '.nuke'))</_NukeRoot> | ||
<_CiFiles Condition="'$(_CiFiles)' == ''"></_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\.azure-pipelines.yml')">$(_CiFiles);$(_NukeRoot)\.azure-pipelines.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\azure-pipelines.yml')">$(_CiFiles);$(_NukeRoot)\azure-pipelines.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\.appveyor.yml')">$(_CiFiles);$(_NukeRoot)\.appveyor.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\appveyor.yml')">$(_CiFiles);$(_NukeRoot)\appveyor.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\.travis.yml')">$(_CiFiles);$(_NukeRoot)\.travis.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\travis.yml')">$(_CiFiles);$(_NukeRoot)\travis.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\gitlab-ci.yml')">$(_CiFiles);$(_NukeRoot)\gitlab-ci.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\codeship.yml')">$(_CiFiles);$(_NukeRoot)\codeship.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\bitrise.yml')">$(_CiFiles);$(_NukeRoot)\bitrise.yml</_CiFiles> | ||
<_CiFiles Condition="Exists('$(_NukeRoot)\.circleci\config.yml')">$(_CiFiles);$(_NukeRoot)\.circleci\config.yml</_CiFiles> | ||
|
||
<_ConfigFiles Condition="'$(_ConfigFiles)' == ''"></_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\global.json')">$(_ConfigFiles);$(_NukeRoot)\global.json</_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\.editorconfig')">$(_ConfigFiles);$(_NukeRoot)\.editorconfig</_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\nuget.config')">$(_ConfigFiles);$(_NukeRoot)\nuget.config</_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\omnisharp.json')">$(_ConfigFiles);$(_NukeRoot)\omnisharp.json</_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\.dependabot\config.yml')">$(_ConfigFiles);$(_NukeRoot)\.dependabot\config.yml</_ConfigFiles> | ||
<_ConfigFiles Condition="Exists('$(_NukeRoot)\.config\dotnet-tools.json')">$(_ConfigFiles);$(_NukeRoot)\.config\dotnet-tools.json</_ConfigFiles> | ||
<!--<_ConfigFiles Condition="Exists('$(_NukeRoot)\')">$(_ConfigFiles);$(_NukeRoot)\</_ConfigFiles>--> | ||
|
||
<_GitFiles Condition="'$(_GitFiles)' == ''"></_GitFiles> | ||
<_GitFiles Condition="Exists('$(_NukeRoot)\.gitattributes')">$(_GitFiles);$(_NukeRoot)\.gitattributes</_GitFiles> | ||
<_GitFiles Condition="Exists('$(_NukeRoot)\.gitignore')">$(_GitFiles);$(_NukeRoot)\.gitignore</_GitFiles> | ||
<_GitFiles Condition="Exists('$(_NukeRoot)\.gitmodules')">$(_GitFiles);$(_NukeRoot)\.gitmodules</_GitFiles> | ||
<!--<_GitFiles Condition="Exists('$(_NukeRoot)\')">$(_GitFiles);$(_NukeRoot)\</_GitFiles>--> | ||
|
||
<_NukeFiles Condition="'$(_NukeFiles)' == ''"></_NukeFiles> | ||
<_NukeFiles>$(_NukeFiles);$(_NukeRoot)\build.ps1;$(_NukeRoot)\build.sh;$(_NukeRoot)\.nuke</_NukeFiles> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project> | ||
<ItemGroup> | ||
<NukeSpecificationFiles Include="**\*.json" Exclude="bin\**;obj\**" /> | ||
<NukeExternalFiles Include="**\*.*.ext" Exclude="bin\**;obj\**" /> | ||
<None Remove="*.csproj.DotSettings;*.ref.*.txt" /> | ||
|
||
<!-- Common build related files --> | ||
<None Include="$(_NukeFiles)" Link=".nuke\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_CiFiles)" Link=".ci\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_GitFiles)" Link=".git\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_ConfigFiles)" Link=".config\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_NukeRoot)\*.md" Link="docs\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_NukeRoot)\LICENSE" Condition="Exists('$(_NukeRoot)\LICENSE')" Link="docs\$([MSBuild]::MakeRelative($(_NukeRoot), %(FullPath)))" /> | ||
<None Include="$(_NukeRoot)\*.props;$(_NukeRoot)\*.targets" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<Project> | ||
<Import Project="..\build\$(MSBuildThisFile)" /> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<Project> | ||
<Import Project="..\build\$(MSBuildThisFile)" /> | ||
</Project> |