mirror of
https://github.com/FabInfra/capnproto-dotnetcore_Runtime.git
synced 2025-03-12 14:51:41 +01:00
Choco deployment fixed
This commit is contained in:
parent
b952ae47e2
commit
32873501f5
6
chocolatey/VERIFICATION
Normal file
6
chocolatey/VERIFICATION
Normal file
@ -0,0 +1,6 @@
|
||||
VERIFICATION
|
||||
Verification is intended to assist the Chocolatey moderators and community
|
||||
in verifying that this package's contents are trustworthy.
|
||||
|
||||
This package is published by the capnproto-dotnetcore project itself. Any binaries will be
|
||||
identical to other package types published by the project.
|
@ -3,20 +3,28 @@
|
||||
<metadata>
|
||||
<id>capnpc-csharp-win-x86</id>
|
||||
<version>1.0.0</version>
|
||||
<packageSourceUrl>https://chocolatey.org/packages/capnpc-csharp-win-x86/1.0.0</packageSourceUrl>
|
||||
<authors>Christian Köllner and contributors</authors>
|
||||
<owners>Christian Köllner and contributors</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<!--<license type="expression">MIT</license>-->
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<projectUrl>https://github.com/c80k/capnproto-dotnetcore</projectUrl>
|
||||
<title>capnpc-csharp (Install)</title>
|
||||
<description>Cap'n Proto C# code generator backend, self-contained Windows x86</description>
|
||||
<copyright>Christian Köllner and contributors</copyright>
|
||||
<tags>capnp capnpc RPC serialization cerealization</tags>
|
||||
<summary>Cap'n Proto C# code generator backend, self-contained Windows x86</summary>
|
||||
<!--<repository type="Git" />-->
|
||||
<dependencies>
|
||||
<dependency id="capnproto" version="0.7.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="chocolateyinstall.ps1" target="tools" />
|
||||
<file src="chocolateyuninstall.ps1" target="tools" />
|
||||
<file src="..\..\LICENSE" target="tools\LICENSE" />
|
||||
<file src="..\VERIFICATION" target="tools\VERIFICATION" />
|
||||
<file src=".\bin\**" target="tools" />
|
||||
</files>
|
||||
</package>
|
@ -2,5 +2,4 @@ $ErrorActionPreference = 'Stop'
|
||||
|
||||
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
|
||||
|
||||
choco install capnproto
|
||||
Install-Binfile -Name capnpc-csharp -Path "$toolsDir\capnpc-csharp.exe"
|
||||
|
@ -1,22 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>capnpc-csharp-win-x86</id>
|
||||
<id>capnpc-csharp</id>
|
||||
<version>1.0.0</version>
|
||||
<packageSourceUrl>https://chocolatey.org/packages/capnpc-csharp/1.0.0</packageSourceUrl>
|
||||
<authors>Christian Köllner and contributors</authors>
|
||||
<owners>Christian Köllner and contributors</owners>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<!--<license type="expression">MIT</license>-->
|
||||
<licenseUrl>https://licenses.nuget.org/MIT</licenseUrl>
|
||||
<projectUrl>https://github.com/c80k/capnproto-dotnetcore</projectUrl>
|
||||
<title>capnpc-csharp (Install)</title>
|
||||
<description>Cap'n Proto C# code generator backend, portable .NET Core 2.1</description>
|
||||
<summary>Cap'n Proto C# code generator backend, portable .NET Core 2.1</summary>
|
||||
<copyright>Christian Köllner and contributors</copyright>
|
||||
<tags>capnp capnpc RPC serialization cerealization</tags>
|
||||
<!--<repository type="Git" />-->
|
||||
<dependencies>
|
||||
<dependency id="capnproto" version="0.7.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="chocolateyinstall.ps1" target="tools" />
|
||||
<file src="chocolateyuninstall.ps1" target="tools" />
|
||||
<file src="..\..\LICENSE" target="tools\LICENSE" />
|
||||
<file src="..\VERIFICATION" target="tools\VERIFICATION" />
|
||||
<file src=".\bin\**" target="tools" />
|
||||
</files>
|
||||
</package>
|
@ -8,5 +8,5 @@ $csprojFile = "capnpc-csharp.csproj"
|
||||
dotnet publish -c Release -r win-x86 --self-contained -o "$chocoDir\$id_win_x86\bin" "$csprojDir\$csprojFile"
|
||||
dotnet publish -c Release -o "$chocoDir\$id\bin" "$csprojDir\$csprojFile"
|
||||
|
||||
choco pack "$chocoDir\$id\$id.nuspec" --outputdirectory "$chocoDir\$id\bin"
|
||||
choco pack "$chocoDir\$id_win_x86\$id_win_x86.nuspec" --outputdirectory "$chocoDir\$id_win_x86\bin"
|
||||
choco pack "$chocoDir\$id\$id.nuspec" --outputdirectory "$chocoDir\install"
|
||||
choco pack "$chocoDir\$id_win_x86\$id_win_x86.nuspec" --outputdirectory "$chocoDir\install"
|
||||
|
Loading…
x
Reference in New Issue
Block a user