Skip to content

Commit 01343b2

Browse files
author
psilo
committed
Updated .gitignore
Built nuget packages Added batch files for nuget generation and pushing
1 parent cecc5dd commit 01343b2

File tree

7 files changed

+37
-5
lines changed

7 files changed

+37
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ ThrobaxTD/TiledLevel/TiledLevel.Linux.csproj
100100
ThrobaxTD/Utilities/Utilities.Linux.csproj
101101
ThrobaxTD/WindGenerator/WindGenerator.Linux.csproj
102102
*.sln
103+
*.nupkg

Properties/AssemblyInfo.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("SplitStopWatch")]
9-
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyDescription("A debugging tool for developers.")]
1010
[assembly: AssemblyConfiguration("")]
11-
[assembly: AssemblyCompany("")]
11+
[assembly: AssemblyCompany("Unterrainer Informatik OG")]
1212
[assembly: AssemblyProduct("SplitStopWatch")]
13-
[assembly: AssemblyCopyright("Copyright © 2015")]
13+
[assembly: AssemblyCopyright("Copyright © 2016")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("1.0.0.2")]
36+
[assembly: AssemblyFileVersion("1.0.0.2")]

SplitStopWatch.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@
4444
</ItemGroup>
4545
<ItemGroup>
4646
<None Include="LICENSE" />
47+
<None Include="nuget_pack.bat" />
48+
<None Include="nuget_push.bat" />
4749
<None Include="readme.md" />
50+
<None Include="SplitStopWatch.nuspec">
51+
<SubType>Designer</SubType>
52+
</None>
4853
</ItemGroup>
4954
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
5055
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

SplitStopWatch.nuspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<title>$title$</title>
7+
<authors>Unterrainer Informatik OG Team</authors>
8+
<owners>Public Domain</owners>
9+
<licenseUrl>http://unlicense.org</licenseUrl>
10+
<projectUrl>https://github.com/UnterrainerInformatik/collisiongrid</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>A small debugging helper-class for developers that helps tidying your timing-output.</description>
13+
<summary>
14+
Just start the watch using .Start('optional string'), take a split-time using .Split('optional string'), stop and restart or reset it.
15+
Every interaction triggers a console output. You may configure it to write to any TextWriter, user your own format-strings and disable the output completely using .IsActive=false.
16+
</summary>
17+
<releaseNotes></releaseNotes>
18+
<copyright>Copyright 2016</copyright>
19+
<language>en-US</language>
20+
<tags>debugging debug tools stopwatch clock output</tags>
21+
</metadata>
22+
</package>

bin/Release/SplitStopWatch.dll

512 Bytes
Binary file not shown.

nuget_pack.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nuget pack -sym SplitStopWatch.csproj
2+
rem When targeting release-builds, add: -Prop Configuration=Release

nuget_push.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nuget push %1 -source https://www.nuget.org
2+
rem https://nuget.smbsrc.net/

0 commit comments

Comments
 (0)