Skip to content

Commit

Permalink
Merge pull request #80 from rickyah/feature/automatic-nuget-packaging
Browse files Browse the repository at this point in the history
Feature/automatic nuget packaging
  • Loading branch information
rickyah committed May 31, 2015
2 parents dd86dbd + 883bb89 commit 76a7da3
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 140 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
build
pack
*.nupkg
lib
*.symbols.nuspec

# Visual Studio ignores

Expand Down
9 changes: 0 additions & 9 deletions Gemfile

This file was deleted.

57 changes: 0 additions & 57 deletions Gemfile.lock

This file was deleted.

36 changes: 0 additions & 36 deletions Rakefile

This file was deleted.

1 change: 1 addition & 0 deletions nuget-pack
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mono --runtime=v4.0 ~/bin/NuGet.exe pack ./src/IniFileParser/INIFileParser.nuspec -NoDefaultExcludes -OutputDirectory ./build -Version $1
7 changes: 6 additions & 1 deletion src/INIFileParser.Example/INIFileParser.Example.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="..\IniFileParser\Properties\AssemblyInfo.cs">
<Link>Properties\AssemblyInfo.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IniFileParser\INIFileParser.csproj">
Expand Down Expand Up @@ -93,4 +95,7 @@
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
</Project>
35 changes: 0 additions & 35 deletions src/INIFileParser.Example/Properties/AssemblyInfo.cs

This file was deleted.

3 changes: 2 additions & 1 deletion src/IniFileParser/INIFileParser.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
<WarningLevel>4</WarningLevel>
<DocumentationFile>..\..\lib\INIFileParser.xml</DocumentationFile>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
Expand All @@ -74,12 +75,12 @@
<Compile Include="Model\SectionData.cs" />
<Compile Include="Model\SectionDataCollection.cs" />
<Compile Include="StreamIniDataParser.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="StringIniParser.cs" />
<Compile Include="Exceptions\ParsingException.cs" />
<Compile Include="Model\Formatting\DefaultIniDataFormatter.cs" />
<Compile Include="Model\Formatting\IIniDataFormatter.cs" />
<Compile Include="Model\IniDataCaseInsensitive.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="INIFileParser.nuspec" />
Expand Down
7 changes: 6 additions & 1 deletion src/IniFileParser/INIFileParser.nuspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<version>2.1.0</version>
<version>1.0</version>
<authors>Ricardo Amores Hernández</authors>
<owners>rickyah</owners>
<licenseUrl>https://github.com/rickyah/ini-parser/master/blob/LICENSE.txt</licenseUrl>
Expand All @@ -19,4 +19,9 @@ Also implements merging operations, both for complete ini files, sections, or ev
</releaseNotes>
<tags>ini</tags>
</metadata>
<files>
<file src="../../lib/INIFileParser.dll" target="lib/net20"/>
<file src="../../lib/INIFileParser.xml" target="lib/net20"/>
<file src="../../lib/INIFileParser.dll.mdb" target="lib/net20"/>
</files>
</package>

0 comments on commit 76a7da3

Please sign in to comment.