Skip to content

Commit

Permalink
added scripts to retrieve dlls and build the nuget package.
Browse files Browse the repository at this point in the history
  • Loading branch information
lastunicorn committed Jan 3, 2018
1 parent 7553c9e commit 20f2b73
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
3 changes: 3 additions & 0 deletions nuget/.build.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

nuget pack
10 changes: 10 additions & 0 deletions nuget/.retrieve.assemblies.bat
Original file line number Diff line number Diff line change
@@ -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%"
10 changes: 9 additions & 1 deletion nuget/ConsoleTools.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@
<id>ConsoleTools</id>
<version>0.0.1</version>
<authors>Dust in the Wind</authors>
<title>ConsoleTools</title>
<owners>Dust in the Wind</owners>
<licenseUrl>https://www.gnu.org/licenses/gpl-3.0.en.html</licenseUrl>
<projectUrl>https://github.com/lastunicorn/ConsoleTools</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A set of tools and "controls" for the .net Console.</description>
<description>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.</description>
<summary>A set of tools and "controls" for the .net Console.</summary>
<releaseNotes>First release</releaseNotes>
<copyright>Copyright 2017 Dust in the Wind</copyright>
<tags>console cli prompter menu progressbar spinner table read write</tags>
</metadata>
<files>
<file src="lib\net461\DustInTheWind.ConsoleTools.dll" target="lib\net461\DustInTheWind.ConsoleTools.dll" />
<file src="lib\net461\DustInTheWind.ConsoleTools.pdb" target="lib\net461\DustInTheWind.ConsoleTools.pdb" />
<file src="lib\net461\DustInTheWind.ConsoleTools.xml" target="lib\net461\DustInTheWind.ConsoleTools.xml" />
</files>
</package>

0 comments on commit 20f2b73

Please sign in to comment.