-
Notifications
You must be signed in to change notification settings - Fork 14
/
NuGet.bat
113 lines (90 loc) · 8.05 KB
/
NuGet.bat
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
echo off
echo Copying assemblies into directories
echo Copying System.Data PCL assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+XamariniOS"
copy "Output\Release\Portable\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+XamariniOS\*.*"
copy "Output\Release\Portable\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+XamariniOS\*.*"
rem echo Copying System.Data PCL assemblies...
rem mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+MonoMac+XamariniOS+XamarinMac"
rem copy "Output\Release\Portable\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+MonoMac+XamariniOS+XamarinMac\*.*"
rem copy "Output\Release\Portable\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+MonoMac+XamariniOS+XamarinMac\*.*"
echo Copying System.Data Windows Phone 8 assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\wp8"
copy "Output\Release\WindowsPhone8\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\wp8\*.*"
copy "Output\Release\WindowsPhone8\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\wp8\*.*"
echo Copying System.Data Windows Store assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\netcore"
copy "Output\Release\WindowsStore\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\netcore\*.*"
copy "Output\Release\WindowsStore\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\netcore\*.*"
echo Copying System.Data Silverlight 5 assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\sl5"
copy "Output\Release\Silverlight5\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\sl5\*.*"
copy "Output\Release\Silverlight5\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\sl5\*.*"
echo Copying System.Data Android assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\MonoAndroid"
copy "Output\Release\Android\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoAndroid\*.*"
copy "Output\Release\Android\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoAndroid\*.*"
echo Copying System.Data iOS assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\MonoTouch"
copy "Output\Release\iOS\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoTouch\*.*"
copy "Output\Release\iOS\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoTouch\*.*"
echo Copying System.Data iOS Unified assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\XamariniOS"
copy "Output\Release\iOSUnified\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\XamariniOS\*.*"
copy "Output\Release\iOSUnified\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\XamariniOS\*.*"
rem echo Copying System.Data Mac assemblies...
rem mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\MonoMac"
rem copy "Output\Release\Mac\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoMac\*.*"
rem copy "Output\Release\Mac\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\MonoMac\*.*"
rem
rem echo Copying System.Data Mac Unified assemblies...
rem mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\XamarinMac"
rem copy "Output\Release\MacUnified\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\XamarinMac\*.*"
rem copy "Output\Release\MacUnified\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\XamarinMac\*.*"
echo Copying System.Data Desktop assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\net4"
copy "Output\Release\Desktop\AnyCPU\System.Transactions.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\net4\*.*"
copy "Output\Release\Desktop\AnyCPU\System.Data.Portable.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\net4\*.*"
echo Copying Mono.Data.Sqlite PCL assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+XamariniOS"
copy "Output\Release\Portable\AnyCPU\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+XamariniOS\*.*"
rem echo Copying Mono.Data.Sqlite PCL assemblies...
rem mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+MonoMac+XamariniOS+XamarinMac"
rem copy "Output\Release\Portable\AnyCPU\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\portable-net4+sl5+wp8+win+MonoAndroid+MonoTouch+MonoMac+XamariniOS+XamarinMac\*.*"
echo Copying Mono.Data.Sqlite Windows Phone 8 assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-arm"
copy "Output\Release\WindowsPhone8\ARM\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-arm\*.*"
copy "Output\Release\WindowsPhone8\ARM\MonoDataSqliteWrapper.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-arm\*.*"
copy "Output\Release\WindowsPhone8\ARM\MonoDataSqliteWrapper.winmd" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-arm\*.*"
copy "Output\Release\WindowsPhone8\ARM\MonoDataSqliteWrapper.lib" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-arm\*.*"
mkdir "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-x86"
copy "Output\Release\WindowsPhone8\x86\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-x86\*.*"
copy "Output\Release\WindowsPhone8\x86\MonoDataSqliteWrapper.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-x86\*.*"
copy "Output\Release\WindowsPhone8\x86\MonoDataSqliteWrapper.winmd" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-x86\*.*"
copy "Output\Release\WindowsPhone8\x86\MonoDataSqliteWrapper.lib" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\wp8-x86\*.*"
echo Copying Mono.Data.Sqlite Windows Store assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-arm"
copy "Output\Release\WindowsStore\ARM\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-arm\*.*"
copy "Output\Release\WindowsStore\ARM\MonoDataSqliteWrapper.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-arm\*.*"
copy "Output\Release\WindowsStore\ARM\MonoDataSqliteWrapper.winmd" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-arm\*.*"
copy "Output\Release\WindowsStore\ARM\MonoDataSqliteWrapper.lib" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-arm\*.*"
mkdir "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-x86"
copy "Output\Release\WindowsStore\x86\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-x86\*.*"
copy "Output\Release\WindowsStore\x86\MonoDataSqliteWrapper.dll" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-x86\*.*"
copy "Output\Release\WindowsStore\x86\MonoDataSqliteWrapper.winmd" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-x86\*.*"
copy "Output\Release\WindowsStore\x86\MonoDataSqliteWrapper.lib" "NuGet\Mono.Data.Sqlite.Portable\tools\lib\netcore-x86\*.*"
echo Copying Mono.Data.Sqlite Silverlight 5 assemblies...
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\sl5"
copy "Output\Release\Silverlight5\AnyCPU\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\sl5\*.*"
copy "Output\Release\Silverlight5\AnyCPU\MonoDataSqliteWrapper.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\sl5\*.*"
echo Copying 3rd party libraries
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\sl5"
copy "Libraries\Community.CsharpSqlite.Silverlight.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\sl5\*.*"
mkdir "NuGet\Mono.Data.Sqlite.Portable\lib\net4"
copy "Libraries\Mono.Data.Sqlite.dll" "NuGet\Mono.Data.Sqlite.Portable\lib\net4\*.*"
echo Copy complete. Starting NuGet packaging...
cd NuGet
rem "nuget.exe" pack System.Data.Portable/System.Data.Portable.nuspec
"nuget.exe" pack Mono.Data.Sqlite.Portable/Mono.Data.Sqlite.Portable.nuspec
cd..
echo Packaging complete