forked from Recognos/Metrics.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
/
create-nuget.bat
35 lines (25 loc) · 1.33 KB
/
create-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
rd /S /Q .\Publishing\lib
call build.bat
if %errorlevel% neq 0 exit /b %errorlevel%
md .\Publishing\lib
md .\Publishing\lib\net45
copy .\bin\Release\Metrics.dll .\Publishing\lib\net45\
copy .\bin\Release\Metrics.xml .\Publishing\lib\net45\
copy .\bin\Release\Metrics.pdb .\Publishing\lib\net45\
copy .\bin\Release\Nancy.metrics.dll .\Publishing\lib\net45\
copy .\bin\Release\Nancy.metrics.xml .\Publishing\lib\net45\
copy .\bin\Release\Nancy.metrics.pdb .\Publishing\lib\net45\
copy .\bin\Release\owin.metrics.dll .\Publishing\lib\net45\
copy .\bin\Release\owin.metrics.xml .\Publishing\lib\net45\
copy .\bin\Release\owin.metrics.pdb .\Publishing\lib\net45\
copy .\bin\Release\Metrics.NLog.dll .\Publishing\lib\net45\
copy .\bin\Release\Metrics.NLog.xml .\Publishing\lib\net45\
copy .\bin\Release\Metrics.NLog.pdb .\Publishing\lib\net45\
.\.nuget\NuGet.exe pack .\Publishing\Metrics.Net.nuspec -OutputDirectory .\Publishing
if %errorlevel% neq 0 exit /b %errorlevel%
.\.nuget\NuGet.exe pack .\Publishing\Nancy.Metrics.nuspec -OutputDirectory .\Publishing
if %errorlevel% neq 0 exit /b %errorlevel%
.\.nuget\NuGet.exe pack .\Publishing\Owin.Metrics.nuspec -OutputDirectory .\Publishing
if %errorlevel% neq 0 exit /b %errorlevel%
.\.nuget\NuGet.exe pack .\Publishing\Metrics.NLog.nuspec -OutputDirectory .\Publishing
if %errorlevel% neq 0 exit /b %errorlevel%