blob: 29f9682c12fc8793497d764d456518b59272b10c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
.PHONY: build pack test clean
EXPORTS_PATH ?= ../../exports
# Export, see EduVpnCommon.props
export EXPORTS_LIB_PATH ?= $(EXPORTS_PATH)/lib
build:
dotnet publish EduVpnCommon.csproj --configuration Release
pack:
dotnet pack EduVpnCommon.csproj --configuration Release
test:
ifneq ($(EXPORTS_PATH),)
ifneq ($(wildcard $(EXPORTS_PATH)/Makefile),)
$(MAKE) -C "$(EXPORTS_PATH)"
endif
endif
dotnet test
clean:
rm -rf bin/ obj/ EduVpnCommonTests/bin/ EduVpnCommonTests/obj/
|