-
Notifications
You must be signed in to change notification settings - Fork 27
/
vertical-slice-template.nuspec
49 lines (47 loc) · 2.99 KB
/
vertical-slice-template.nuspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<!-- https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-->
<!-- https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#packing-using-a-nuspec-file-->
<!-- https://learn.microsoft.com/en-us/nuget/create-packages/set-package-type-->
<!-- https://tedspence.com/publishing-a-dotnet-tool-on-nuget-e1df7909ec5a-->
<!-- https://ml-software.ch/posts/versioning-made-easier-with-nerdbank-gitversioning-->
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-pack#examples-->
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-install-->
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-new-uninstall-->
<!-- dotnet pack -p:NuspecFile=vertical-slice-template.nuspec -o nuget -c Debug /p:NuspecProperties="version=1.3.6;id=Vertical.Slice.Template" -->
<!-- nuget pack vertical-slice-template.nuspec -OutputDirectory ./nuget -Properties "version=1.3.6" -NoDefaultExcludes -Build -NoPackageAnalysis -->
<!-- dotnet new install ./Vertical.Slice.Template.1.3.6.nupkg-->
<!-- dotnet new uninstall-->
<!-- dotnet new uninstall Vertical.Slice.Template-->
<metadata>
<id>Vertical.Slice.Template</id>
<version>$version$</version>
<title>Vertical Slice Template</title>
<authors>Mehdi Hadeli</authors>
<owners>Mehdi Hadeli</owners>
<description>An asp.net core template based on Vertical Slice Architecture, CQRS, Minimal APIs, API Versioning
and Swagger.
</description>
<summary>An ASP.NET Core template.</summary>
<tags>dotnet dotnet-core templates csharp vertical-slices vertical-slices-architecture clean-architecture cqrs
minimal-api
</tags>
<license type="expression">MIT</license>
<projectUrl>https://github.com/mehdihadeli/vertical-slice-api-template</projectUrl>
<icon>icon.png</icon>
<readme>readme.md</readme>
<repository type="git" url="https://github.com/mehdihadeli/vertical-slice-api-template" branch="main"/>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<copyright>Copyright (c) 2024 Mehdi Hadeli</copyright>
<packageTypes>
<packageType name="Template"/>
</packageTypes>
</metadata>
<files>
<!-- use `\` in windows, using `/` created invalid package-->
<file src=".\**" target="content" exclude="**\bin\**;**\obj\**;**\.git\**;**\.github\**;**\*.user;**\.vs\**;**\.vscode\**;**\.gitignore;**\sample\**;**\node_modules\**;**\.idea\**" />
<file src=".\.github\**" target="content\.github" exclude=".\.github\workflows\labeler.yml;.\.github\workflows\publish.yml;.\.github\workflows\release-drafter.yml;.\.github\labeler.yml;.\.github\multi-labeler.yml;.\.github\release-drafter.yml" />
<file src="icon.png" target=""/>
<file src="readme.md" target=""/>
</files>
</package>