Skip to content

Commit

Permalink
updated the buld scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
lastunicorn committed Mar 10, 2019
1 parent 5a2cba6 commit 5d3ce97
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
12 changes: 6 additions & 6 deletions nuget/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,22 @@ rem ----------------------------------------------------------------------------

echo.
echo ---
echo --- Retrieve assemblies - Net461
echo --- Retrieve assemblies - net45
echo ---
echo.
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "lib\net461"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\net45\*.dll" "lib\net45"
if %errorlevel% neq 0 goto :error
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "lib\net461"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\net45\*.xml" "lib\net45"
if %errorlevel% neq 0 goto :error

echo.
echo ---
echo --- Retrieve assemblies - Net452
echo --- Retrieve assemblies - netcoreapp2.2
echo ---
echo.
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net452\*.dll" "lib\net452"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\netcoreapp2.2\*.dll" "lib\netcoreapp2.2"
if %errorlevel% neq 0 goto :error
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net452\*.xml" "lib\net452"
xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\netcoreapp2.2\*.xml" "lib\netcoreapp2.2"
if %errorlevel% neq 0 goto :error

echo.
Expand Down
15 changes: 11 additions & 4 deletions release/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
set root_directory=..
set version=0.5.1


rem ----------------------------------------------------------------------------------------------------
rem Build the project
rem ----------------------------------------------------------------------------------------------------

rem "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild" "%root_directory%\sources\ConsoleTools\ConsoleTools\ConsoleTools.csproj"

rem ----------------------------------------------------------------------------------------------------
rem Clean up existing files.
rem ----------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -34,19 +41,19 @@ echo ---
echo --- Retrieve assemblies
echo ---
echo.
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "ConsoleTools\lib\Net461"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\net45\*.dll" "ConsoleTools\lib\net45"
if %errorlevel% neq 0 goto :error
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "ConsoleTools\lib\Net461"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\net45\*.xml" "ConsoleTools\lib\net45"
if %errorlevel% neq 0 goto :error

echo.
echo ---
echo --- Retrieve assemblies
echo ---
echo.
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net452\*.dll" "ConsoleTools\lib\Net452"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\netcoreapp2.2\*.dll" "ConsoleTools\lib\netcoreapp2.2"
if %errorlevel% neq 0 goto :error
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net452\*.xml" "ConsoleTools\lib\Net452"
xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release\netcoreapp2.2\*.xml" "ConsoleTools\lib\netcoreapp2.2"
if %errorlevel% neq 0 goto :error

rem ----------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit 5d3ce97

Please sign in to comment.