Skip to content

Commit

Permalink
Update Cake.DoInDirectory add-in to target Cake v2.0.0 (#23)
Browse files Browse the repository at this point in the history
* Update Cake.Core reference to 2.0
* Update build targets to net5.0, net6.0, netcoreapp3.1
* Update Cake tool to 2.2.0
* Update test script to use net6.0 dll

Co-authored-by: C. Augusto Proiete <[email protected]>
  • Loading branch information
paulmilbank and augustoproiete authored May 27, 2022
1 parent 6cc8dc1 commit 0426b06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"cake.tool": {
"version": "1.1.0",
"version": "2.2.0",
"commands": [
"dotnet-cake"
]
Expand Down
6 changes: 3 additions & 3 deletions Cake.DoInDirectory/Cake.DoInDirectory.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks>net6.0;net5.0;netcoreapp3.1</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand All @@ -23,7 +23,7 @@
</PropertyGroup>

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

</Project>
2 changes: 1 addition & 1 deletion test.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#reference "Cake.DoInDirectory/bin/Release/netstandard2.0/Cake.DoInDirectory.dll"
#reference "Cake.DoInDirectory/bin/Release/net6.0/Cake.DoInDirectory.dll"

Setup((ctx) =>
{
Expand Down

0 comments on commit 0426b06

Please sign in to comment.