Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/automatic nuget packaging #80

Merged
merged 7 commits into from
May 31, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>