From bc940a145ca8150bc1e8fbb18d0a4685e9b09ce0 Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Wed, 24 Nov 2021 17:47:17 +0100 Subject: Support more platforms, add make clean targets, support embedding lib in nupkg --- wrappers/csharp/EduVpnCommon.csproj | 47 +++++++++++++++++++++++++++++++++---- wrappers/csharp/Makefile | 12 +++++++++- 2 files changed, 54 insertions(+), 5 deletions(-) (limited to 'wrappers') diff --git a/wrappers/csharp/EduVpnCommon.csproj b/wrappers/csharp/EduVpnCommon.csproj index 1bbbc23..04df7f0 100644 --- a/wrappers/csharp/EduVpnCommon.csproj +++ b/wrappers/csharp/EduVpnCommon.csproj @@ -4,6 +4,11 @@ netstandard2.0 8 enable + EduVpn.Common + 0.1.0 + + Common EduVpn logic + EduVpn @@ -14,13 +19,47 @@ + + + + - - PreserveNewest + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always - - PreserveNewest + + Always diff --git a/wrappers/csharp/Makefile b/wrappers/csharp/Makefile index 293a7a2..1761edc 100644 --- a/wrappers/csharp/Makefile +++ b/wrappers/csharp/Makefile @@ -1,4 +1,14 @@ -.PHONY: test +.PHONY: build pack test clean + +build: + dotnet publish EduVpnCommon.csproj --configuration Release + +pack: + dotnet pack EduVpnCommon.csproj --configuration Release test: + $(MAKE) -C ../../exports dotnet test + +clean: + rm -rf bin/ obj/ EduVpnCommonTests/bin/ EduVpnCommonTests/obj/ -- cgit v1.2.3