From 1e271643671875093e984ae208ddf6b51e7cbd83 Mon Sep 17 00:00:00 2001 From: lastunicorn Date: Wed, 24 Jan 2018 21:09:30 +0200 Subject: [PATCH] updated version in the release scripts. --- nuget/ConsoleTools.nuspec | 34 ++++++++++++++++++++-------------- nuget/build.bat | 8 ++++++-- release/build.bat | 10 +++++++--- 3 files changed, 33 insertions(+), 19 deletions(-) diff --git a/nuget/ConsoleTools.nuspec b/nuget/ConsoleTools.nuspec index d81e7023..7ba8e55d 100644 --- a/nuget/ConsoleTools.nuspec +++ b/nuget/ConsoleTools.nuspec @@ -2,7 +2,7 @@ ConsoleTools - 0.2.0 + 0.3.0 Dust in the Wind ConsoleTools Dust in the Wind @@ -12,19 +12,25 @@ A set of tools and "controls" for the .net Console. It contains: List Input/Output Controls, Text Input/Output Controls, Progress Bar, Spinner, Data Table, Prompter, Menus, etc. A set of tools and "controls" for the .net Console. -- Build: Added build configurations and releases for .NET Framework 4.5 and 4.6.1. -- ProgressBar: Replaced the ValueAlignment enum with HorizontalAlignment enum. -- CustomConcole: Added WithoutCursor methods to execute code while the cursor is hidden. -- CustomConcole: Added background colors for all standard color types (Emphasies, Success, Warning, Error). -- ProgressBar: [bugfix] Incorrect WriteLine when Value was aligned to right. -- ProgressBar: Added foreground and background colors. -- Translation: Added Romanian translation. -- ValueInput: Renamed TextInput control into ValueInput. -- ValueInput: When accepting a default value, the value is written in console. -- ValuOutput: Renamed the TextOutput control into ValuOutput. -- Spinner: Renamed the Start method into Display. -- Spinner: [bugfix] Stop method did not stop the spinner. -- TextMenu: Added the QuickDisplay method. +- ProgressBar: Renamed the BarEmptyColor and BarFillColor into BarEmptyForegroundColor and BarFillForegroundColor. +- ProgressBar: Renamed the Done() method into Close(). +- Spinner: Renamed the Stop() method into Close(). +- Prompter: Renamed the Run() method into Display(). +- Prompter: Renamed the RunOnce() method into DisplayOnce(). +- Prompter: Renamed the RequestStop() method into RequestClose(). +- Prompter: Added MarginTop/MarginBottom. +- Spinner: Renamed the spinner templates. +- Pause [bugfix]: Control is not correctly erased when it is displayed at the bottom of the console buffer. +- Added French translation. +- DataGrid: Renamed Table into DataGrid. +- DataGrid: Exposed the Rows list. +- DataGrid: Removed the ColumnCount and RowCount properties. The values can be retrieved directly from the Columns and Rows lists. +- DataGrid: Created a StreamTablePrinter that writes the table into a Stream. +- DataGrid: [performance] Fixed performance issue introduced in ver 0.2.0. +- DataGrid: Added MarginTop/MarginBottom. +- Console MVC: Removed. It was moved in its own project named ConsoleMvc. +- TextMenu: Added MarginTop/MarginBottom. +- YesNoControl: Added MarginTop/MarginBottom. Copyright 2017-2018 Dust in the Wind console cli prompter menu progressbar spinner table read write diff --git a/nuget/build.bat b/nuget/build.bat index 8ef7c8a2..751a032e 100644 --- a/nuget/build.bat +++ b/nuget/build.bat @@ -55,7 +55,9 @@ echo --- echo --- Retrieve assemblies - Net461 echo --- echo. -xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*" "lib\net461" +xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "lib\net461" +if %errorlevel% neq 0 goto :error +xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "lib\net461" if %errorlevel% neq 0 goto :error echo. @@ -63,7 +65,9 @@ echo --- echo --- Retrieve assemblies - Net45 echo --- echo. -xcopy /R/Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*" "lib\net45" +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-Net45\*.xml" "lib\net45" if %errorlevel% neq 0 goto :error echo. diff --git a/release/build.bat b/release/build.bat index b96f8440..2e8b2645 100644 --- a/release/build.bat +++ b/release/build.bat @@ -1,7 +1,7 @@ @echo off set root_directory=.. -set version=0.2.0 +set version=0.3.0 rem ---------------------------------------------------------------------------------------------------- rem Clean up existing files. @@ -34,7 +34,9 @@ echo --- echo --- Retrieve assemblies echo --- echo. -xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*" "ConsoleTools\lib\Net461" +xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.dll" "ConsoleTools\lib\Net461" +if %errorlevel% neq 0 goto :error +xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net461\*.xml" "ConsoleTools\lib\Net461" if %errorlevel% neq 0 goto :error echo. @@ -42,7 +44,9 @@ echo --- echo --- Retrieve assemblies echo --- echo. -xcopy /Y/S/I "%root_directory%\sources\ConsoleTools\ConsoleTools\bin\Release-Net45\*" "ConsoleTools\lib\Net45" +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-Net45\*.xml" "ConsoleTools\lib\Net45" if %errorlevel% neq 0 goto :error rem ----------------------------------------------------------------------------------------------------