Skip to content

Commit bef3161

Browse files
committed
Added nuspec, other tidy up
1 parent 0be99bc commit bef3161

File tree

7 files changed

+40
-8
lines changed

7 files changed

+40
-8
lines changed

Diff for: .gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[Rr]eleases/
1919
x64/
2020
x86/
21-
build/
21+
#build/
2222
bld/
2323
[Bb]in/
2424
[Oo]bj/
@@ -232,4 +232,4 @@ $RECYCLE.BIN/
232232
*.msp
233233

234234
# Windows shortcuts
235-
*.lnk
235+
*.lnk

Diff for: CSharpVitamins.Tabulation/Alignment.cs

+14
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
namespace CSharpVitamins.Tabulation
22
{
3+
/// <summary>
4+
/// The horizontal alignment of a cell
5+
/// </summary>
36
public enum Alignment
47
{
8+
/// <summary>
9+
/// Align left (shortcut: l or L)
10+
/// </summary>
511
Left,
12+
13+
/// <summary>
14+
/// Align centre (shortcut: c, C m or M)
15+
/// </summary>
616
Center,
17+
18+
/// <summary>
19+
/// Align right (shortcut: r or R)
20+
/// </summary>
721
Right
822
}
923
}

Diff for: CSharpVitamins.Tabulation/CSharpVitamins.Tabulation.csproj

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
24+
<DocumentationFile>bin\Debug\CSharpVitamins.Tabulation.xml</DocumentationFile>
2425
</PropertyGroup>
2526
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2627
<DebugType>pdbonly</DebugType>
@@ -29,15 +30,13 @@
2930
<DefineConstants>TRACE</DefineConstants>
3031
<ErrorReport>prompt</ErrorReport>
3132
<WarningLevel>4</WarningLevel>
33+
<DocumentationFile>bin\Release\CSharpVitamins.Tabulation.xml</DocumentationFile>
3234
</PropertyGroup>
3335
<ItemGroup>
3436
<Reference Include="System" />
3537
<Reference Include="System.Core" />
36-
<Reference Include="System.Xml.Linq" />
37-
<Reference Include="System.Data.DataSetExtensions" />
3838
<Reference Include="Microsoft.CSharp" />
3939
<Reference Include="System.Data" />
40-
<Reference Include="System.Xml" />
4140
</ItemGroup>
4241
<ItemGroup>
4342
<Compile Include="Alignment.cs" />
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0"?>
2+
<package >
3+
<metadata>
4+
<id>$id$</id>
5+
<version>$version$</version>
6+
<authors>Dave Transom</authors>
7+
<projectUrl>https://github.com/csharpvitamins/csharpvitamins.tabulation/</projectUrl>
8+
<licenseUrl>https://raw.github.com/csharpvitamins/csharpvitamins.tabulation/master/LICENSE.md</licenseUrl>
9+
<!--<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>-->
10+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
11+
<description>CharpVitamins.Tabulation provides helpers to create tabular data with little fuss i.e. Tab or comma separated values (CsvDefinition), or padded columns of plain text (PlainTextTable).</description>
12+
<releaseNotes>initial release.</releaseNotes>
13+
<copyright>Copyright 2015</copyright>
14+
<tags>Text CSV </tags>
15+
</metadata>
16+
</package>

Diff for: CSharpVitamins.Tabulation/CsvDefinitionFactory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static Func<PropertyInfo, object, string> resolve_converter(Type type, IDictiona
5555
}
5656

5757
/// <summary>
58-
/// Creates a definition from the given model's properties (prop.Name & prop.Value.ToString())
58+
/// Creates a definition from the given model's properties (prop.Name &amp; prop.Value.ToString())
5959
/// </summary>
6060
/// <typeparam name="T">The model to reflect on</typeparam>
6161
/// <returns>A TableDefinition instance that can render rows of data given the model T</returns>

Diff for: CSharpVitamins.Tabulation/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
88
[assembly: AssemblyTitle("CSharpVitamins.Tabulation")]
9-
[assembly: AssemblyDescription("")]
9+
[assembly: AssemblyDescription("CharpVitamins.Tabulation provides helpers to create tabular data with little fuss i.e. Tab or comma separated values (CsvDefinition), or padded columns of plain text (PlainTextTable).")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
1212
[assembly: AssemblyProduct("CSharpVitamins.Tabulation")]
@@ -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")]
35+
[assembly: AssemblyVersion("1.0.0.*")]
3636
[assembly: AssemblyFileVersion("1.0.0.0")]

Diff for: build/build.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cd ..\CSharpVitamins.Tabulation\
2+
3+
&.\.nuget\nuget.exe pack -prop Configuration=Release -verbosity detailed -outputdirectory ..\build\

0 commit comments

Comments
 (0)