This repository was archived by the owner on Dec 25, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44image : Visual Studio 2022
55
66# ---------------------------------#
7- # Build Script #
7+ # Install .NET #
88# ---------------------------------#
99install :
10- # Update to latest NuGet version since we require 5.3.0 for embedded icon
11- - ps : nuget update -self
10+ - ps : $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
11+ - ps : mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
12+ - ps : Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
13+ - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.408 -InstallDir $env:DOTNET_INSTALL_DIR'
14+ - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.405 -InstallDir $env:DOTNET_INSTALL_DIR'
15+ - ps : ' & "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 7.0.102 -InstallDir $env:DOTNET_INSTALL_DIR'
16+ - ps : $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
17+ - ps : dotnet --info
1218
19+ # ---------------------------------#
20+ # Build Script #
21+ # ---------------------------------#
1322build_script :
1423 - ps : .\build.ps1 --target=CI
1524
Original file line number Diff line number Diff line change @@ -8,14 +8,10 @@ updates:
88 open-pull-requests-limit : 10
99 ignore :
1010 - dependency-name : Cake.Core
11- versions :
12- - " (,3.0)"
11+ update-types : ["version-update:semver-minor"]
1312 - dependency-name : Cake.Testing
14- versions :
15- - " (,3.0)"
13+ update-types : ["version-update:semver-minor"]
1614 - dependency-name : Cake.Issues
17- versions :
18- - " > 1.0.0, < 2"
15+ update-types : ["version-update:semver-minor"]
1916 - dependency-name : Cake.Issues.Testing
20- versions :
21- - " > 1.0.0, < 2"
17+ update-types : ["version-update:semver-minor"]
Original file line number Diff line number Diff line change 1+ {
2+ "dotnet.defaultSolution" : " src\\ Cake.Issues.EsLint.sln"
3+ }
Original file line number Diff line number Diff line change 1414 pool :
1515 vmImage : ' windows-2022'
1616 steps :
17+ # .NET 5 required for GitVersion
18+ - task : UseDotNet@2
19+ inputs :
20+ version : ' 5.x'
21+ displayName : ' Install .NET 5'
22+ - task : UseDotNet@2
23+ inputs :
24+ version : ' 6.x'
25+ displayName : ' Install .NET 6'
26+ - task : UseDotNet@2
27+ inputs :
28+ version : ' 7.x'
29+ displayName : ' Install .NET 7'
1730 - powershell : ./build.ps1
1831 displayName : ' Cake Build'
Original file line number Diff line number Diff line change @@ -24,18 +24,15 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
2424 <repository type =" git" url =" https://github.com/cake-contrib/Cake.Issues.EsLint.git" />
2525 <copyright >Copyright © BBT Software AG and contributors</copyright >
2626 <tags >cake cake-addin cake-issues cake-issueprovider code-analysis javascript linting eslint</tags >
27- <releaseNotes >https://github.com/cake-contrib/Cake.Issues.ESLint/releases/tag/2 .0.0</releaseNotes >
27+ <releaseNotes >https://github.com/cake-contrib/Cake.Issues.ESLint/releases/tag/3 .0.0</releaseNotes >
2828 </metadata >
2929 <files >
3030 <file src =" ..\..\..\..\nuspec\nuget\icon.png" target =" " />
31- <file src =" netcoreapp3.1\Cake.Issues.EsLint.dll" target =" lib\netcoreapp3.1" />
32- <file src =" netcoreapp3.1\Cake.Issues.EsLint.pdb" target =" lib\netcoreapp3.1" />
33- <file src =" netcoreapp3.1\Cake.Issues.EsLint.xml" target =" lib\netcoreapp3.1" />
34- <file src =" net5.0\Cake.Issues.EsLint.dll" target =" lib\net5.0" />
35- <file src =" net5.0\Cake.Issues.EsLint.pdb" target =" lib\net5.0" />
36- <file src =" net5.0\Cake.Issues.EsLint.xml" target =" lib\net5.0" />
3731 <file src =" net6.0\Cake.Issues.EsLint.dll" target =" lib\net6.0" />
3832 <file src =" net6.0\Cake.Issues.EsLint.pdb" target =" lib\net6.0" />
3933 <file src =" net6.0\Cake.Issues.EsLint.xml" target =" lib\net6.0" />
34+ <file src =" net7.0\Cake.Issues.EsLint.dll" target =" lib\net7.0" />
35+ <file src =" net7.0\Cake.Issues.EsLint.pdb" target =" lib\net7.0" />
36+ <file src =" net7.0\Cake.Issues.EsLint.xml" target =" lib\net7.0" />
4037 </files >
4138</package >
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ BuildParameters.SetParameters(
1515 repositoryName : "Cake.Issues.EsLint" ,
1616 appVeyorAccountName : "cakecontrib" ,
1717 shouldRunCoveralls : false , // Disabled because it's currently failing
18+ shouldPostToGitter : false , // Disabled because it's currently failing
1819 shouldGenerateDocumentation : false ) ;
1920
2021BuildParameters . PrintParameters ( Context ) ;
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netcoreapp3.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55 <IsPackable >false</IsPackable >
66 <Product >Cake.Issues</Product >
77 <Copyright >Copyright © BBT Software AG and contributors</Copyright >
2727 </ItemGroup >
2828
2929 <ItemGroup >
30- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.2.0 " />
31- <PackageReference Include =" Cake.Testing" Version =" 2 .0.0" />
32- <PackageReference Include =" Cake.Issues.Testing" Version =" 2 .0.0" />
33- <PackageReference Include =" Shouldly" Version =" 4.0.3 " />
30+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.6.2 " />
31+ <PackageReference Include =" Cake.Testing" Version =" 3 .0.0" />
32+ <PackageReference Include =" Cake.Issues.Testing" Version =" 3 .0.0" />
33+ <PackageReference Include =" Shouldly" Version =" 4.2.1 " />
3434 <PackageReference Include =" StyleCop.Analyzers" Version =" 1.1.118" />
35- <PackageReference Include =" xunit" Version =" 2.4.1 " />
35+ <PackageReference Include =" xunit" Version =" 2.4.2 " />
3636 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5" />
3737 </ItemGroup >
3838
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netcoreapp3.1;net5.0;net6 .0</TargetFrameworks >
4+ <TargetFrameworks >net6.0;net7 .0</TargetFrameworks >
55 <Description >EsLint support for the Cake.Issues Addin for Cake Build Automation System</Description >
66 <Authors >BBT Software AG</Authors >
77 <Company >BBT Software AG</Company >
1919 </PropertyGroup >
2020
2121 <ItemGroup >
22- <PackageReference Include =" Cake.Core" Version =" 2 .0.0" PrivateAssets =" All" />
23- <PackageReference Include =" Cake.Issues" Version =" 2 .0.0" />
24- <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers" Version =" 6 .0.0 " >
22+ <PackageReference Include =" Cake.Core" Version =" 3 .0.0" PrivateAssets =" All" />
23+ <PackageReference Include =" Cake.Issues" Version =" 3 .0.0" />
24+ <PackageReference Include =" Microsoft.CodeAnalysis.NetAnalyzers" Version =" 7 .0.1 " >
2525 <PrivateAssets >all</PrivateAssets >
2626 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2727 </PackageReference >
You can’t perform that action at this time.
0 commit comments