-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-28) added the current Cake.Recipe
Also I introduced a "shim" project to create the NuGet package instead of the nuspec and updated the README.
- Loading branch information
Showing
25 changed files
with
246 additions
and
616 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
image: | ||
- Visual Studio 2019 | ||
|
||
test: off | ||
build: off | ||
|
||
skip_branch_with_pr: true | ||
branches: | ||
only: | ||
- develop | ||
- master | ||
- /release/.*/ | ||
- /hotfix/.*/ | ||
|
||
build_script: | ||
- ps: .\build.ps1 --target=CI | ||
|
||
cache: | ||
- tools -> recipe.cake |
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,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"cake.tool": { | ||
"version": "0.38.5", | ||
"commands": [ | ||
"dotnet-cake" | ||
] | ||
} | ||
} | ||
} |
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,21 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
*.cs text diff=csharp | ||
|
||
*.ps1 text eol=crlf | ||
*.bat text eol=crlf | ||
*.sln text eol=crlf | ||
*.csproj text eol=crlf | ||
tasks.json text eol=crlf | ||
|
||
*.sh text eol=lf | ||
|
||
*.md text whitespace=-trailing-space | ||
|
||
# Exclude files from exporting | ||
|
||
.gitattributes export-ignore | ||
.gitignore export-ignore |
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 @@ | ||
create: | ||
include-footer: true | ||
footer-heading: Where to get it | ||
footer-content: > | ||
You can download this release from | ||
[nuget](https://nuget.org/packages/Cake.BuildSystems.Module/{milestone}), | ||
or you can just reference it in a cake build script | ||
with `#module nuget:?package=Cake.BuildSystems.Module&version={milestone}`. | ||
footer-includes-milestone: true | ||
milestone-replace-text: "{milestone}" | ||
export: | ||
include-created-date-in-title: true | ||
created-date-string-format: yyyy-MM-dd | ||
perform-regex-removal: true | ||
regex-text: '[\r\n]*### Where to get it[\r\n]*You can .*`\.[\r\n]*' | ||
multiline-regex: true | ||
issue-labels-include: | ||
- Breaking change | ||
- Bug | ||
- Feature | ||
- Enhancement | ||
- Improvement | ||
- Documentation | ||
- security | ||
issue-labels-exclude: | ||
- Build | ||
- Internal / Refactoring | ||
issue-labels-alias: | ||
- name: Documentation | ||
header: Documentation | ||
plural: Documentation | ||
- name: security | ||
header: Security | ||
plural: Security |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,44 +1,27 @@ | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
trigger: | ||
- master | ||
- develop | ||
branches: | ||
include: | ||
- master | ||
- develop | ||
- 'release/*' | ||
- 'hotfix/*' | ||
- 'feature/*' | ||
|
||
variables: | ||
buildConfiguration: 'Release' | ||
cakeVersion: 0.38.5 | ||
sdkVersion: '2.2.300' | ||
target: NuGet | ||
tags: | ||
include: [] | ||
|
||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- task: UseDotNet@2 | ||
displayName: 'Use .NET Core SDK' | ||
inputs: | ||
packageType: sdk | ||
version: $(sdkVersion) | ||
installationPath: $(Agent.ToolsDirectory)/dotnet | ||
- task: NuGetToolInstaller@1 | ||
inputs: | ||
versionSpec: '>=5.x' | ||
- task: DotNetCoreCLI@2 | ||
displayName: Install Cake tool | ||
inputs: | ||
command: custom | ||
custom: tool | ||
arguments: install -g Cake.Tool --version $(cakeVersion) | ||
- task: DotNetCoreCLI@2 | ||
displayName: Run build | ||
inputs: | ||
command: custom | ||
custom: cake | ||
arguments: --settings_skipverification=true --target=$(target) | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Publish packages artifact | ||
inputs: | ||
path: dist/package | ||
artifact: package | ||
- task: PublishPipelineArtifact@1 | ||
displayName: Publish build output | ||
inputs: | ||
path: dist/build | ||
artifact: publish | ||
- task: Cache@2 | ||
inputs: | ||
key: '"$(Agent.OS)" | recipe.cake' | ||
path: 'tools' | ||
- task: Cake@2 | ||
inputs: | ||
script: 'recipe.cake' | ||
target: 'CI' | ||
verbosity: 'Diagnostic' | ||
Bootstrap: true | ||
Version: '0.38.5' |
Oops, something went wrong.