|
1 | 1 |
|
2 | 2 | SRC=src/SQLite.cs src/SQLiteAsync.cs |
3 | 3 |
|
4 | | -all: test nuget |
5 | | - |
6 | | -test: tests/bin/Debug/SQLite.Tests.dll tests/ApiDiff/bin/Debug/ApiDiff.exe |
7 | | - nunit-console tests/bin/Debug/SQLite.Tests.dll |
8 | | - mono tests/ApiDiff/bin/Debug/ApiDiff.exe |
9 | | - |
10 | | -tests/bin/Debug/SQLite.Tests.dll: tests/SQLite.Tests.csproj $(SRC) |
11 | | - msbuild tests/SQLite.Tests.csproj |
| 4 | +PACKAGES_OUT=$(abspath PackagesOut) |
12 | 5 |
|
13 | | -tests/ApiDiff/bin/Debug/ApiDiff.exe: tests/ApiDiff/ApiDiff.csproj $(SRC) |
14 | | - msbuild tests/ApiDiff/ApiDiff.csproj |
| 6 | +all: test nuget |
15 | 7 |
|
16 | | -nuget: srcnuget pclnuget basenuget sqlciphernuget |
| 8 | +test: tests/bin/Release/SQLite.Tests.dll tests/ApiDiff/bin/Release/ApiDiff.exe |
| 9 | + mono packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe tests/bin/Release/SQLite.Tests.dll --labels=On --trace=Info |
| 10 | + mono tests/ApiDiff/bin/Release/ApiDiff.exe |
17 | 11 |
|
18 | | -packages: nuget/SQLite-net/packages.config |
| 12 | +tests/bin/Release/SQLite.Tests.dll: tests/SQLite.Tests.csproj $(SRC) |
19 | 13 | nuget restore SQLite.sln |
| 14 | + msbuild /p:Configuration=Release tests/SQLite.Tests.csproj |
| 15 | + |
| 16 | +tests/ApiDiff/bin/Release/ApiDiff.exe: tests/ApiDiff/ApiDiff.csproj $(SRC) |
| 17 | + msbuild /p:Configuration=Release tests/ApiDiff/ApiDiff.csproj |
20 | 18 |
|
21 | | -srcnuget: sqlite-net.nuspec $(SRC) |
22 | | - nuget pack sqlite-net.nuspec |
| 19 | +nuget: pclnuget basenuget sqlciphernuget |
23 | 20 |
|
24 | | -pclnuget: sqlite-net-pcl.nuspec packages $(SRC) |
25 | | - msbuild "/p:Configuration=Release" nuget/SQLite-net/SQLite-net.csproj |
26 | | - msbuild "/p:Configuration=Release" nuget/SQLite-net-std/SQLite-net-std.csproj |
27 | | - nuget pack sqlite-net-pcl.nuspec |
| 21 | +pclnuget: nuget/SQLite-net-std/SQLite-net-std.csproj $(SRC) |
| 22 | + dotnet pack -c Release -o $(PACKAGES_OUT) $< |
28 | 23 |
|
29 | | -basenuget: sqlite-net-pcl.nuspec packages $(SRC) |
30 | | - msbuild "/p:Configuration=Release" nuget/SQLite-net-base/SQLite-net-base.csproj |
31 | | - nuget pack sqlite-net-base.nuspec |
| 24 | +basenuget: nuget/SQLite-net-base/SQLite-net-base.csproj $(SRC) |
| 25 | + dotnet pack -c Release -o $(PACKAGES_OUT) $< |
32 | 26 |
|
33 | | -sqlciphernuget: sqlite-net-sqlcipher.nuspec packages $(SRC) |
34 | | - msbuild "/p:Configuration=Release" nuget/SQLite-net-sqlcipher/SQLite-net-sqlcipher.csproj |
35 | | - nuget pack sqlite-net-sqlcipher.nuspec |
| 27 | +sqlciphernuget: nuget/SQLite-net-sqlcipher/SQLite-net-sqlcipher.csproj $(SRC) |
| 28 | + dotnet pack -c Release -o $(PACKAGES_OUT) $< |
0 commit comments