Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#52) Introduce the usage of CakeContrib.Guidelines #56

Merged
merged 1 commit into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2017
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 AppVeyor

Expand Down
3 changes: 2 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"sdk": {
"version": "2.1.500"
"version": "5.0.100",
"rollForward": "latestFeature"
}
}
27 changes: 0 additions & 27 deletions nuspec/nuget/Cake.Gulp.nuspec

This file was deleted.

Binary file removed nuspec/nuget/icon.png
Binary file not shown.
3 changes: 2 additions & 1 deletion recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ BuildParameters.SetParameters(context: Context,
repositoryName: "Cake.Gulp",
appVeyorAccountName: "cakecontrib",
shouldRunDupFinder: false,
shouldRunInspectCode: false);
shouldRunInspectCode: false,
shouldRunDotNetCorePack: true);


BuildParameters.PrintParameters(Context);
Expand Down
6 changes: 1 addition & 5 deletions src/Cake.Gulp.Tests/Cake.Gulp.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>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
Expand All @@ -14,10 +14,6 @@
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\SolutionInfo.cs" Link="SolutionInfo.cs" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Cake.Gulp\Cake.Gulp.csproj" />
</ItemGroup>
Expand Down
34 changes: 24 additions & 10 deletions src/Cake.Gulp/Cake.Gulp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,39 @@
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
<AssemblyName>Cake.Gulp</AssemblyName>
<RootNamespace>Cake.Gulp</RootNamespace>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PlatformTarget>anycpu</PlatformTarget>
<DebugType>portable</DebugType>
<Company>Cake Contributions - Phil Oyston</Company>
<Product>Cake.Gulp</Product>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<PropertyGroup>
<StartYear>2016</StartYear>
<EndYear>$([System.DateTime]::Today.Year)</EndYear>
<FullYear Condition="'$(StartYear)'=='$(EndYear)'">$(StartYear)</FullYear>
<FullYear Condition="'$(StartYear)'!='$(EndYear)'">$(StartYear)-$(EndYear)</FullYear>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>bin\Debug\$(TargetFramework)\Cake.Gulp.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\$(TargetFramework)\Cake.Gulp.xml</DocumentationFile>
<!-- Properties related to packaging -->
<Authors>Phil Oyston</Authors>
<Copyright>Copyright © Cake Contributions $(FullYear)</Copyright>
<Description>Provides a wrapper around Gulp functionality within a Cake build script</Description>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/cake-contrib/Cake.Gulp</PackageProjectUrl>
<PackageTags>cake;cake-addin;build;gulp;cake-build;script;addin</PackageTags>
<RepositoryUrl>https://github.com/cake-contrib/Cake.Gulp.git</RepositoryUrl>
<PackageReleaseNotes>https://github.com/cake-contrib/Cake.Gulp/releases</PackageReleaseNotes>
<RootNamespace>Cake.Gulp</RootNamespace>
<Version>0.0.1</Version>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\SolutionInfo.cs" Link="SolutionInfo.cs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="CakeContrib.Guidelines" Version="1.3.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
12 changes: 0 additions & 12 deletions src/Cake.Gulp/Properties/AssemblyInfo.cs

This file was deleted.

13 changes: 0 additions & 13 deletions src/SolutionInfo.cs

This file was deleted.