mirror of
https://github.com/tribufu/proxmox-sharp
synced 2026-05-06 06:47:29 +00:00
Publish to nuget
This commit is contained in:
parent
79236af76b
commit
53edd9bfbb
5 changed files with 25 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,8 +2,10 @@
|
||||||
.vscode/*
|
.vscode/*
|
||||||
bin/
|
bin/
|
||||||
obj/
|
obj/
|
||||||
|
releases/*
|
||||||
|
|
||||||
!.vscode/settings.json
|
!.vscode/settings.json
|
||||||
|
!releases/.gitkeep
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
.env
|
||||||
|
|
|
||||||
13
Directory.Build.props
Normal file
13
Directory.Build.props
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<Authors>Tribufu</Authors>
|
||||||
|
<Company>Tribufu</Company>
|
||||||
|
<Copyright>Copyright (c) Tribufu. All Rights Reserved.</Copyright>
|
||||||
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
|
<RepositoryType>git</RepositoryType>
|
||||||
|
<RepositoryUrl>https://github.com/tribufu/proxmox-sharp</RepositoryUrl>
|
||||||
|
<Version>0.1.0</Version>
|
||||||
|
<AssemblyVersion>$(Version).0</AssemblyVersion>
|
||||||
|
<NoWarn>$(NoWarn);0618;1591;1998;2002;8767</NoWarn>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
0
releases/.gitkeep
Normal file
0
releases/.gitkeep
Normal file
7
scripts/package.ps1
Normal file
7
scripts/package.ps1
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env pwsh
|
||||||
|
|
||||||
|
Get-ChildItem ./releases -Filter *.nupkg -Recurse -Force | Remove-Item -Force
|
||||||
|
|
||||||
|
dotnet clean
|
||||||
|
dotnet build -c Release
|
||||||
|
dotnet pack -c Release -o ./releases
|
||||||
|
|
@ -1,9 +1,10 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<IsPackable>false</IsPackable>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="dotenv.net" />
|
<PackageReference Include="dotenv.net" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue