From 20f2b733b1042b4086f7373d7716bd3235d06a96 Mon Sep 17 00:00:00 2001 From: lastunicorn Date: Wed, 3 Jan 2018 11:03:07 +0200 Subject: [PATCH] added scripts to retrieve dlls and build the nuget package. --- nuget/.build.bat | 3 +++ nuget/.retrieve.assemblies.bat | 10 ++++++++++ nuget/ConsoleTools.nuspec | 10 +++++++++- 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 nuget/.build.bat create mode 100644 nuget/.retrieve.assemblies.bat diff --git a/nuget/.build.bat b/nuget/.build.bat new file mode 100644 index 00000000..d896d1db --- /dev/null +++ b/nuget/.build.bat @@ -0,0 +1,3 @@ +@echo off + +nuget pack \ No newline at end of file diff --git a/nuget/.retrieve.assemblies.bat b/nuget/.retrieve.assemblies.bat new file mode 100644 index 00000000..14d8d02d --- /dev/null +++ b/nuget/.retrieve.assemblies.bat @@ -0,0 +1,10 @@ +@echo off + +set soure_directory=..\source\ConsoleTools\bin\Release +set destination_directory=..\nuget\lib\net461 + +echo Delete destination directoty +rmdir /S/Q "%destination_directory%" + +echo Retrieve assemblies +xcopy /R/Y/S/I "%soure_directory%\*" "%destination_directory%" \ No newline at end of file diff --git a/nuget/ConsoleTools.nuspec b/nuget/ConsoleTools.nuspec index fbaf9b6c..fa063614 100644 --- a/nuget/ConsoleTools.nuspec +++ b/nuget/ConsoleTools.nuspec @@ -4,12 +4,20 @@ ConsoleTools 0.0.1 Dust in the Wind + ConsoleTools Dust in the Wind + https://www.gnu.org/licenses/gpl-3.0.en.html https://github.com/lastunicorn/ConsoleTools false - A set of tools and "controls" for the .net Console. + 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. First release Copyright 2017 Dust in the Wind console cli prompter menu progressbar spinner table read write + + + + + \ No newline at end of file