2012-12-22 02:09:28 +04:00
|
|
|
set bin="c:\Bin"
|
|
|
|
|
|
|
|
msbuild /p:Configuration=Release40
|
|
|
|
msbuild /p:Configuration=Debug40
|
|
|
|
msbuild /p:Configuration=Release45
|
|
|
|
msbuild /p:Configuration=Debug45
|
|
|
|
|
|
|
|
copy ..\tools\NuGet.exe %bin%\
|
|
|
|
copy ..\tools\zip.exe %bin%\
|
2013-03-13 20:39:54 +04:00
|
|
|
copy ..\tools\PushPackages.cmd %bin%\
|
2012-12-22 02:09:28 +04:00
|
|
|
|
2013-02-21 21:49:18 +04:00
|
|
|
pushd ..\Samples\LinqPad\Queries
|
|
|
|
call create_samples_package.cmd
|
|
|
|
popd
|
|
|
|
|
2012-12-22 02:09:28 +04:00
|
|
|
pushd
|
|
|
|
|
2013-03-19 20:31:50 +04:00
|
|
|
cd /d %bin%\Debug
|
2012-12-28 00:00:09 +04:00
|
|
|
call :setVersion
|
2012-12-22 02:09:28 +04:00
|
|
|
call :packAll
|
|
|
|
|
2013-03-19 20:31:50 +04:00
|
|
|
cd /d %bin%\Release
|
2012-12-28 00:00:09 +04:00
|
|
|
call :setVersion
|
2012-12-22 02:09:28 +04:00
|
|
|
call :packAll
|
|
|
|
|
2013-03-19 20:31:50 +04:00
|
|
|
cd /d %bin%\Release\Net40
|
2013-06-26 06:32:56 +04:00
|
|
|
..\..\zip.exe ..\..\Tx.LinqPad.lpx header.xml System.Reactive.Interfaces.dll System.Reactive.Core.dll System.Reactive.Linq.dll System.Reactive.PlatformServices.dll System.Reactive.Windows.Forms.dll Tx.Core.dll Tx.Windows.dll Tx.Windows.TypeGeneration.dll Tx.SqlServer.dll xe.dll Microsoft.SqlServer.XE.Core.dll Microsoft.SqlServer.XEvent.Configuration.dll Microsoft.SqlServer.XEvent.dll Microsoft.SqlServer.XEvent.Linq.dll Microsoft.SqlServer.XEvent.Targets.dll Tx.LinqPad.dll HTTP_Server.man HTTP_Server.etl BasicPerfCounters.blg CrossMachineHTTP.etl CrossMachineIE.etl IE_Client.man sqltrace.xel
|
2012-12-22 02:09:28 +04:00
|
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
goto end
|
|
|
|
|
2012-12-28 00:00:09 +04:00
|
|
|
:setVersion
|
|
|
|
|
|
|
|
pushd Net40\Properties
|
|
|
|
..\SetVersion.exe
|
|
|
|
popd
|
|
|
|
|
|
|
|
pushd Net45\Properties
|
|
|
|
..\SetVersion.exe
|
|
|
|
popd
|
|
|
|
|
|
|
|
exit /b 0
|
|
|
|
|
2012-12-22 02:09:28 +04:00
|
|
|
:packAll
|
|
|
|
call :pack Tx.Core
|
|
|
|
call :pack Tx.Windows
|
|
|
|
call :pack Tx.Windows.TypeGeneration
|
|
|
|
call :pack Tx.SqlServer
|
|
|
|
call :pack Tx.All
|
|
|
|
|
|
|
|
exit /b 0
|
|
|
|
|
|
|
|
:pack %1
|
|
|
|
call Net40\Properties\%1.Layout.cmd
|
2013-03-19 20:31:50 +04:00
|
|
|
cd /d %1
|
2012-12-22 02:09:28 +04:00
|
|
|
copy ..\Net40\Properties\%1.nuspec
|
|
|
|
..\..\NuGet pack %1.nuspec
|
|
|
|
move *.nupkg ..\
|
|
|
|
cd ..
|
|
|
|
rd /s/q %1
|
|
|
|
exit /b 0
|
|
|
|
|
|
|
|
:end
|
|
|
|
popd
|
|
|
|
exit /b 0
|