Skip to content
Open
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
32 changes: 29 additions & 3 deletions csharp/nuget/Vosk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,34 @@
<owners>Alpha Cephei Inc</owners>
</PropertyGroup>

<Target Name="CopyFiles" AfterTargets="Build">
<Copy SourceFiles="bin/Release/net8.0/Vosk.dll" DestinationFolder="lib/net8.0" />
</Target>
<ItemGroup>
<None Include="bin/Release/net8.0/Vosk.dll"
Pack="true"
PackagePath="lib/net8.0/" />
</ItemGroup>

<ItemGroup>

<None Include="build/lib/linux-x64/*.so"
Pack="true"
PackagePath="runtimes/linux-x64/native/" />

<None Include="build/lib/linux-arm64/*.so"
Pack="true"
PackagePath="runtimes/linux-arm64/native/" />

<None Include="build/lib/win-x64/*.dll"
Pack="true"
PackagePath="runtimes/win-x64/native/" />

<None Include="build/lib/win-arm64/*.dll"
Pack="true"
PackagePath="runtimes/win-arm64/native/" />

<None Include="build/lib/osx-universal/*.dylib"
Pack="true"
PackagePath="runtimes/osx-universal/native/" />

</ItemGroup>

</Project>
32 changes: 0 additions & 32 deletions csharp/nuget/Vosk.nuspec

This file was deleted.

2 changes: 1 addition & 1 deletion csharp/nuget/build.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rm -rf bin lib obj
/home/shmyrev/local/dotnet/dotnet pack Vosk.csproj -p:NuspecFile=Vosk.nuspec -o .
dotnet pack Vosk.csproj -o .
11 changes: 0 additions & 11 deletions csharp/nuget/build/Vosk.targets

This file was deleted.

Empty file.
Empty file.