Skip to content

Commit 6145656

Browse files
committed
Fix building the old PCL version
1 parent 9c496bb commit 6145656

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

Makefile

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11

2-
2+
SRC=src/SQLite.cs src/SQLiteAsync.cs
33

44
all: test nuget
55

66
test: tests/bin/Debug/SQLite.Tests.dll
77
nunit-console tests/bin/Debug/SQLite.Tests.dll
88

9-
tests/bin/Debug/SQLite.Tests.dll: tests/SQLite.Tests.csproj src/SQLite.cs src/SQLiteAsync.cs
10-
xbuild tests/SQLite.Tests.csproj
9+
tests/bin/Debug/SQLite.Tests.dll: tests/SQLite.Tests.csproj $(SRC)
10+
msbuild tests/SQLite.Tests.csproj
1111

1212
nuget: srcnuget pclnuget
1313

14-
srcnuget: src/SQLite.cs src/SQLiteAsync.cs sqlite-net.nuspec
14+
packages: nuget/SQLite-net/packages.config
15+
nuget restore SQLite.sln
16+
17+
srcnuget: sqlite-net.nuspec $(SRC)
1518
nuget pack sqlite-net.nuspec
1619

17-
pclnuget: src/SQLite.cs src/SQLiteAsync.cs
18-
nuget restore SQLite.sln
19-
msbuild "/p:Configuration=Release" nuget/SQLite-net-std/SQLite-net-std.csproj
20+
pclnuget: sqlite-net-pcl.nuspec packages $(SRC)
21+
msbuild "/p:Configuration=Release" nuget/SQLite-net/SQLite-net.csproj
2022
msbuild "/p:Configuration=Release" nuget/SQLite-net-std/SQLite-net-std.csproj
2123
nuget pack sqlite-net-pcl.nuspec -o .\
2224

0 commit comments

Comments
 (0)