This repository has been archived by the owner on Apr 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
2,544 additions
and
2 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,34 @@ | ||
#---------------------------------# | ||
# Build Image # | ||
#---------------------------------# | ||
image: Visual Studio 2019 | ||
|
||
#---------------------------------# | ||
# Build Script # | ||
#---------------------------------# | ||
install: | ||
# Update to latest NuGet version since we require 5.3.0 for embedded icon | ||
- ps: nuget update -self | ||
|
||
build_script: | ||
- ps: .\build.ps1 -Target CI | ||
|
||
# Tests | ||
test: off | ||
|
||
#---------------------------------# | ||
# Branches to build # | ||
#---------------------------------# | ||
branches: | ||
# Whitelist | ||
only: | ||
- develop | ||
- main | ||
- /release/.*/ | ||
- /hotfix/.*/ | ||
|
||
#---------------------------------# | ||
# Build Cache # | ||
#---------------------------------# | ||
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,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
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,35 @@ | ||
# Contribution Guidelines | ||
|
||
This repository uses [GitFlow] with default configuration. | ||
Development is happening on `develop` branch. | ||
|
||
To contribute: | ||
|
||
* Fork this repository. | ||
* Create a feature branch from `develop`. | ||
* Implement your changes. | ||
* Push your feature branch. | ||
* Create a pull request. | ||
|
||
## Build | ||
|
||
To build this package we are using Cake. | ||
|
||
On Windows PowerShell run: | ||
|
||
```powershell | ||
./build | ||
``` | ||
|
||
On OSX/Linux run: | ||
|
||
```bash | ||
./build.sh | ||
``` | ||
|
||
## Release | ||
|
||
See [Cake.Recipe documentation] how to create a new release of this addin. | ||
|
||
[GitFlow]: (http://nvie.com/posts/a-successful-git-branching-model/) | ||
[Cake.Recipe documentation]: https://cake-contrib.github.io/Cake.Recipe/docs/usage/creating-release |
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 @@ | ||
issue-labels-include: | ||
- Breaking change | ||
- Feature | ||
- Bug | ||
- Improvement | ||
- Documentation | ||
issue-labels-exclude: | ||
- Build | ||
issue-labels-alias: | ||
- name: Documentation | ||
header: Documentation | ||
plural: Documentation |
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 |
---|---|---|
@@ -1,2 +1,43 @@ | ||
# Cake.Issues.Reporting.Console | ||
Addin for reporting issues to the console | ||
# Console reporting for Cake.Issues Addin | ||
|
||
This addin for the Cake Build Automation System allows you to report issues found using any code analyzer or linter with | ||
the [Cake Issues addin](https://github.com/cake-contrib/Cake.Issues) to the console. | ||
|
||
It is built using [Errata](https://github.com/spectreconsole/errata). | ||
|
||
For more information about this addin see the [Cake.Issues website](https://cakeissues.net) | ||
and for general information about the Cake build automation system see the [Cake website](http://cakebuild.net). | ||
|
||
[![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/cake-contrib/Cake.Issues.Reporting.Console/blob/feature/build/LICENSE) | ||
|
||
## Information | ||
|
||
| | Stable | Pre-release | | ||
|:--:|:--:|:--:| | ||
|GitHub Release|-|[![GitHub release](https://img.shields.io/github/release/cake-contrib/Cake.Issues.Reporting.Console.svg)](https://github.com/cake-contrib/Cake.Issues.Reporting.Console/releases/latest)| | ||
|NuGet|[![NuGet](https://img.shields.io/nuget/v/Cake.Issues.Reporting.Console.svg)](https://www.nuget.org/packages/Cake.Issues.Reporting.Console)|[![NuGet](https://img.shields.io/nuget/vpre/Cake.Issues.Reporting.Console.svg)](https://www.nuget.org/packages/Cake.Issues.Reporting.Console)| | ||
|
||
## Build Status | ||
|
||
| | Develop | Main | | ||
|:--:|:--:|:--:| | ||
|AppVeyor Windows|[![Build status](https://ci.appveyor.com/api/projects/status/hyqj9655m5ua0bhh/branch/develop?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-issues-reporting-console/branch/develop)|[![Build status](https://ci.appveyor.com/api/projects/status/hyqj9655m5ua0bhh/branch/main?svg=true)](https://ci.appveyor.com/project/cakecontrib/cake-issues-reporting-console/branch/main)| | ||
|Azure DevOps Windows|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Console/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Console?branchName=develop&jobName=Windows)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Console/_build/latest?definitionId=32&branchName=develop)|[![Build Status](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Console/_apis/build/status/cake-contrib.Cake.Issues.Reporting.Console?branchName=main&jobName=Windows)](https://dev.azure.com/cake-contrib/Cake.Issues.Reporting.Console/_build/latest?definitionId=32&branchName=main)| | ||
|
||
## Code Coverage | ||
|
||
[![Coverage Status](https://coveralls.io/repos/github/cake-contrib/Cake.Issues.Reporting.Console/badge.svg?branch=develop)](https://coveralls.io/github/cake-contrib/Cake.Issues.Reporting.Console?branch=develop) | ||
|
||
## Quick Links | ||
|
||
- [Documentation](https://cakeissues.net) | ||
|
||
## Discussion | ||
|
||
For questions and to discuss ideas & feature requests, use the [GitHub discussions on the Cake GitHub repository](https://github.com/cake-build/cake/discussions), under the [Extension Q&A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category. | ||
|
||
[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/cake-build/cake/discussions) | ||
|
||
## Contributing | ||
|
||
Contributions are welcome. See [Contribution Guidelines](CONTRIBUTING.md). |
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,61 @@ | ||
trigger: | ||
- develop | ||
- main | ||
- release/* | ||
- hotfix/* | ||
|
||
pr: | ||
- develop | ||
- release/* | ||
- hotfix/* | ||
|
||
jobs: | ||
# Build | ||
- job: Build | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- powershell: ./build.ps1 | ||
displayName: 'Build' | ||
- publish: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet | ||
artifact: NuGet Package | ||
displayName: 'Publish NuGet packages as build artifact' | ||
# Integration Tests Frosting Windows (.NET 5) | ||
- job: Test_Frosting_Windows_Net5 | ||
displayName: Integration Tests Frosting Windows (.NET 5) | ||
dependsOn: Build | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- download: current | ||
artifact: NuGet Package | ||
displayName: 'Download build artifact' | ||
- task: CopyFiles@2 | ||
inputs: | ||
sourceFolder: $(Pipeline.Workspace)/NuGet Package | ||
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet | ||
displayName: 'Copy build artifact for test run' | ||
- powershell: ./build.ps1 --verbosity=diagnostic | ||
workingDirectory: ./tests/frosting/net5.0 | ||
displayName: 'Run integration tests' | ||
# Integration Tests Script Runner Windows (.NET tool) | ||
- job: Test_Script_Runner_Windows_DotNetTool | ||
displayName: Integration Tests Script Runner Windows (.NET tool) | ||
dependsOn: Build | ||
pool: | ||
vmImage: 'windows-2019' | ||
steps: | ||
- download: current | ||
artifact: NuGet Package | ||
displayName: 'Download build artifact' | ||
- task: CopyFiles@2 | ||
inputs: | ||
sourceFolder: $(Pipeline.Workspace)/NuGet Package | ||
targetFolder: $(Build.SourcesDirectory)/BuildArtifacts/Packages/NuGet | ||
displayName: 'Copy build artifact for test run' | ||
- powershell: dotnet tool restore | ||
workingDirectory: ./tests/script-runner/ | ||
displayName: 'Restore .NET Core tool' | ||
- powershell: dotnet cake | ||
workingDirectory: ./tests/script-runner/ | ||
displayName: 'Run integration tests' |
Oops, something went wrong.