Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (17 sloc) 910 Bytes
REM Merge third-party and satellite (translation) assemblies into a single new executable assembly for easier distribution
IF EXIST %1SqlFormatter.exe DEL %1SqlFormatter.exe
"..\..\..\ExternalBuildTools\ILRepack\ILRepack.exe" /t:exe /out:%1SqlFormatterTemp.exe %1SqlFormatterExeAssembly.exe %1PoorMansTSqlFormatterLib.dll %1NDesk.Options.dll %1LinqBridge.dll %1es\SqlFormatterExeAssembly.resources.dll
IF %ERRORLEVEL% NEQ 0 GOTO END
"..\..\..\ExternalBuildTools\ILRepack\ILRepack.exe" /t:exe /out:%1SqlFormatter.exe %1SqlFormatterTemp.exe %1fr\SqlFormatterExeAssembly.resources.dll
IF %ERRORLEVEL% NEQ 0 GOTO END
del %1LinqBridge.dll
del %1NDesk.Options.dll
del %1PoorMansTSqlFormatterLib.dll
del %1PoorMansTSqlFormatterLib.pdb
del %1SqlFormatterExeAssembly.exe
del %1SqlFormatterExeAssembly.pdb
del %1SqlFormatterTemp.exe
del %1SqlFormatterTemp.pdb
del %1es\*.* /Q
del %1fr\*.* /Q
:END