forked from praeclarum/sqlite-net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (18 loc) · 1022 Bytes
/
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
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
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) $<