-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 842 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (22 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Consul.Configuration.Provider
clean:
dotnet clean Consul.Configuration.Provider.sln
restore:
dotnet restore Consul.Configuration.Provider.sln
build: clean restore
dotnet build -c Release --no-restore Consul.Configuration.Provider.sln
test: build
dotnet test --no-restore tests/Consul.Configuration.Provider.Tests/Consul.Configuration.Provider.Tests.csproj
coverity-scan:
ifeq ($(coverityScan),true)
ci/coverity.sh
endif
nuget-pack:
nuget pack src/Consul.Configuration.Provider/Consul.Configuration.Provider.csproj -Version $(versionNumber) -Properties Configuration=Release
nuget-push:
ifeq ($(pushNuget),true)
find . -iname Consul.Configuration.Provider.*.nupkg -type f | xargs -I package \
dotnet nuget push package -k $(nugetApiKey) -s https://api.nuget.org/v3/index.json
endif
tag:
@echo "TAG VERSION:" $(tagVersion)