forked from praeclarum/sqlite-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (22 loc) · 1.32 KB
/
Makefile
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
31
32
33
34
SRC=src/SQLite.cs src/SQLiteAsync.cs
PACKAGES_OUT=$(abspath PackagesOut)
all: test nuget
test: tests/bin/Release/SQLite.Tests.dll tests/ApiDiff/bin/Release/ApiDiff.exe
mono packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe tests/bin/Release/SQLite.Tests.dll --labels=On --trace=Info
mono tests/ApiDiff/bin/Release/ApiDiff.exe
tests/bin/Release/SQLite.Tests.dll: tests/SQLite.Tests.csproj $(SRC)
nuget restore SQLite.sln
msbuild /p:Configuration=Release tests/SQLite.Tests.csproj
tests/ApiDiff/bin/Release/ApiDiff.exe: tests/ApiDiff/ApiDiff.csproj $(SRC)
msbuild /p:Configuration=Release tests/ApiDiff/ApiDiff.csproj
nuget: pclnuget basenuget sqlciphernuget staticnuget
pclnuget: nuget/SQLite-net-std/SQLite-net-std.csproj $(SRC)
dotnet pack -c Release -o $(PACKAGES_OUT) $<
basenuget: nuget/SQLite-net-base/SQLite-net-base.csproj $(SRC)
dotnet pack -c Release -o $(PACKAGES_OUT) $<
sqlciphernuget: nuget/SQLite-net-sqlcipher/SQLite-net-sqlcipher.csproj $(SRC)
dotnet pack -c Release -o $(PACKAGES_OUT) $<
staticnuget: nuget/SQLite-net-static/SQLite-net-static.csproj $(SRC)
dotnet pack -c Release -o $(PACKAGES_OUT) $<
codecoverage:
cd tests/SQLite.Tests && dotnet test /p:AltCover=true /p:AltCoverForce=true "/p:AltCoverTypeFilter=SQLite.Tests.*" && reportgenerator -reports:coverage.xml -targetdir:./CoverageReport