Skip to content

Commit

Permalink
(cake-contrib#138) updated Cake references to v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Dec 6, 2021
1 parent ee97586 commit cb8d6c1
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
16 changes: 15 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2017
image: Visual Studio 2022

#---------------------------------#
# Install .NET #
#---------------------------------#
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 2.1.818 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 3.1.414 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 5.0.402 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Version 6.0.100 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

#---------------------------------#
# Build Script #
Expand Down
12 changes: 9 additions & 3 deletions nuspec/nuget/Cake.Npm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@
</metadata>
<files>
<file src="..\..\..\..\nuspec\nuget\icon.png" target="" />
<file src="netstandard2.0\Cake.Npm.dll" target="lib\netstandard2.0" />
<file src="netstandard2.0\Cake.Npm.pdb" target="lib\netstandard2.0" />
<file src="netstandard2.0\Cake.Npm.xml" target="lib\netstandard2.0" />
<file src="netcoreapp3.1\Cake.Npm.dll" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1\Cake.Npm.pdb" target="lib\netcoreapp3.1" />
<file src="netcoreapp3.1\Cake.Npm.xml" target="lib\netcoreapp3.1" />
<file src="net5.0\Cake.Npm.dll" target="lib\net5.0" />
<file src="net5.0\Cake.Npm.pdb" target="lib\net5.0" />
<file src="net5.0\Cake.Npm.xml" target="lib\net5.0" />
<file src="net6.0\Cake.Npm.dll" target="lib\net6.0" />
<file src="net6.0\Cake.Npm.pdb" target="lib\net6.0" />
<file src="net6.0\Cake.Npm.xml" target="lib\net6.0" />
</files>
</package>
6 changes: 3 additions & 3 deletions src/Cake.Npm.Tests/Cake.Npm.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
Expand All @@ -10,8 +10,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" />
<PackageReference Include="Cake.Testing" Version="1.0.0" />
<PackageReference Include="Cake.Core" Version="2.0.0" />
<PackageReference Include="Cake.Testing" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
<PackageReference Include="Shouldly" Version="3.0.2" />
<PackageReference Include="xunit" Version="2.4.1" />
Expand Down
4 changes: 2 additions & 2 deletions src/Cake.Npm/Cake.Npm.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netcoreapp3.1;net5.0;net6.0</TargetFrameworks>
<AssemblyName>Cake.Npm</AssemblyName>
<RootNamespace>Cake.Npm</RootNamespace>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
Expand All @@ -21,6 +21,6 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Cake.Core" Version="2.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>

0 comments on commit cb8d6c1

Please sign in to comment.