We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385514a commit fe1e48dCopy full SHA for fe1e48d
2 files changed
Makefile
@@ -1,10 +1,13 @@
1
+SOURCE_DIRECTORY := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
2
+
3
Configuration ?= Release
4
+Output ?= "$(SOURCE_DIRECTORY)/artifacts"
5
.DEFAULT_GOAL := test
6
7
all: clean build test pack
8
9
clean:
- dotnet clean
10
+ dotnet clean && rm -rf $(Output)
11
12
build:
13
dotnet build -c $(Configuration)
@@ -13,4 +16,4 @@ test: build
16
dotnet test --no-build -c $(Configuration)
14
17
15
18
pack: build
- dotnet pack --no-build -c $(Configuration)
19
+ dotnet pack --no-build -c $(Configuration) -o $(Output)
tests/UnitsOfMeasure.Extra.Tests.fsproj
@@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
+ <IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
0 commit comments