Skip to content

Commit

Permalink
Merge branch 'release/1.0.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Feb 8, 2021
2 parents c0acd1b + 3d2d91b commit 064aa2e
Show file tree
Hide file tree
Showing 21 changed files with 198 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [windows-latest, ubuntu-latest, macos-latest]

steps:
- uses: actions/[email protected].3
- uses: actions/[email protected].4
with:
fetch-depth: 0
ref: ${{ github.event.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0

Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/dependabot-cake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Run dependabot for cake
on:
workflow_dispatch:
schedule:
# run everyday at 6
- cron: '0 6 * * *'

jobs:
dependabot-cake:
runs-on: ubuntu-latest # linux, because this is a docker-action
steps:
- name: check/update cake dependencies
uses: nils-org/dependabot-cake-action@v1
2 changes: 1 addition & 1 deletion .github/workflows/publishDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: checkout
uses: actions/[email protected].3 #https://github.com/actions/checkout
uses: actions/[email protected].4 #https://github.com/actions/checkout
with:
fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1"....
ref: ${{ github.event.ref }}
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ docs/input/tasks/*

# Wyam related
config.wyam.*

9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@
[![NuGet package][nugetimage]][nuget]
[![All Contributors][all-contributors-badge]](#contributors)

makes [7zip](https://7-zip.org/) available as a tool in [cake](https://cakebuild.net/)
Makes [7zip](https://7-zip.org/) available as a tool in [cake](https://cakebuild.net/)

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Discussion](#discussion)
- [Maintainer](#maintainer)
- [Contributing](#contributing)
- [Contributors](#contributors)
Expand Down Expand Up @@ -57,6 +58,12 @@ SevenZip(s => s
.WithOutputDirectory("some/other/directory"));
```

## Discussion

If you have questions, search for an existing one, or create a new discussion on the Cake GitHub repository, using the `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)

## Maintainer

[Nils Andresen @nils-a][maintainer]
Expand Down
2 changes: 1 addition & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#load nuget:?package=Cake.Recipe&version=2.0.0
#load nuget:?package=Cake.Recipe&version=2.1.0

Environment.SetVariableNames();

Expand Down
10 changes: 10 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/.idea/.idea.Cake.7zip/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/CakeRider.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/riderModule.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/.idea/.idea.Cake.7zip/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/.run/Bootstrap.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Bootstrap" type="CAKE_CONFIGURATION" factoryName="Cake configuration factory">
<option name="additionalArguments" value="--bootstrap" />
<option name="scriptPath" value="../recipe.cake" />
<method v="2" />
</configuration>
</component>
9 changes: 9 additions & 0 deletions src/.run/Build.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build" type="CAKE_CONFIGURATION" factoryName="Cake configuration factory">
<option name="additionalArguments" />
<option name="scriptPath" value="../recipe.cake" />
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Bootstrap" run_configuration_type="CAKE_CONFIGURATION" />
</method>
</configuration>
</component>
10 changes: 10 additions & 0 deletions src/.run/Releasenotes.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Generate Releasenotes" type="CAKE_CONFIGURATION" factoryName="Cake configuration factory">
<option name="additionalArguments" />
<option name="scriptPath" value="../recipe.cake" />
<option name="taskName" value="releasenotes" />
<method v="2">
<option name="RunConfigurationTask" enabled="true" run_configuration_name="Bootstrap" run_configuration_type="CAKE_CONFIGURATION" />
</method>
</configuration>
</component>
6 changes: 3 additions & 3 deletions src/Cake.7zip.Tests/Cake.7zip.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@

<ItemGroup>
<PackageReference Include="Cake.Testing" Version="0.38.5" />
<PackageReference Include="coverlet.msbuild" Version="2.9.0">
<PackageReference Include="coverlet.msbuild" Version="3.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="5.10.3" />
<PackageReference Include="FluentAssertions.Analyzers" Version="0.11.4" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.7.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Moq" Version="4.14.6" />
<PackageReference Include="Moq" Version="4.16.0" />
<PackageReference Include="Text.Analyzers" Version="2.6.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
16 changes: 8 additions & 8 deletions src/Cake.7zip/Cake.7zip.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<CodeAnalysisRuleSet>..\cake.7zip.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(SolutionDir)/stylecop.json" Link="stylecop.json" />
<None Include="$(SolutionDir)/.editorconfig" Link=".editorconfig" />
Expand All @@ -22,7 +22,7 @@
<!-- Properties related to packaging -->
<Authors>Nils Andresen</Authors>
<Copyright>Copyright © $(FullYear) — Nils Andresen</Copyright>
<Description>makes 7zip available as a tool in cake</Description>
<Description>Makes 7zip available as a tool in Cake</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://cake-contrib.github.io/Cake.7zip</PackageProjectUrl>
<PackageTags>cake;addin;SevenZip;7zip</PackageTags>
Expand All @@ -40,16 +40,16 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Cake.Core" Version="0.33.0" PrivateAssets="All" />
<PackageReference Include="CakeContrib.Guidelines" Version="0.4.0" PrivateAssets="All" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.2">
<PackageReference Include="CakeContrib.Guidelines" Version="0.5.0" PrivateAssets="All" />
<PackageReference Include="IDisposableAnalyzers" Version="3.4.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NetFramework.Analyzers" Version="3.3.0">
<PackageReference Include="Microsoft.NetFramework.Analyzers" Version="3.3.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
1 change: 0 additions & 1 deletion src/Cake.7zip/Commands/ListCommand.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Collections.Generic;

using Cake.Core;
Expand Down
79 changes: 79 additions & 0 deletions src/Cake.7zip/Namespaces.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
using System.Runtime.CompilerServices;

// This file enables generation of namespace documentation,
// see https://cakebuild.net/community/contributing/documentation#namespaces.
#pragma warning disable SA1403 // File may only contain a single namespace
#pragma warning disable SA1649 // File name should match first type name
#pragma warning disable SA1402 // File may only contain a single type

// ReSharper disable UnusedMember.Global
// ReSharper disable UnusedType.Global
namespace Cake.SevenZip
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

namespace Cake.SevenZip.Arguments
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

namespace Cake.SevenZip.Builder
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

namespace Cake.SevenZip.Commands
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

namespace Cake.SevenZip.Parsers
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

namespace Cake.SevenZip.Switches
{
/// <summary>
/// This namespace contain types related to running 7zip.
/// </summary>
[CompilerGenerated]
internal class NamespaceDoc
{
}
}

#pragma warning restore SA1403 // File may only contain a single namespace
#pragma warning restore SA1649 // File name should match first type name
#pragma warning restore SA1402 // File may only contain a single type

0 comments on commit 064aa2e

Please sign in to comment.