Browse files

adding NuSpecUpdateTask to RestSharp.csproj

  • Loading branch information...
1 parent 0d2b4e4 commit a7bbb3a594e9cdc773470e5d85074d1d168edf80 @pseudomuto pseudomuto committed Aug 27, 2013
Showing with 12 additions and 7 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 RestSharp/RestSharp.csproj
  3. +7 −7 restsharp.nuspec
View
1 .gitignore
@@ -36,3 +36,4 @@ Download/
#Ignore files from MonoDevelop
*.pidb
*.userprefs
+restsharp-computed.nuspec
View
4 RestSharp/RestSharp.csproj
@@ -197,4 +197,8 @@
<Target Name="AfterBuild">
</Target>
-->
+ <UsingTask TaskName="NuSpecUpdateTask" AssemblyFile="$(OutDir)RestSharp.dll" />
+ <Target Name="AfterBuild">
+ <NuSpecUpdateTask SpecFile="$(SolutionDir)restsharp.nuspec" />
+ </Target>
</Project>
View
14 restsharp.nuspec
@@ -1,18 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<package>
<metadata>
- <id>RestSharp</id>
- <version>104.2.0.0</version>
- <authors>John Sheehan, RestSharp Community</authors>
- <owners>John Sheehan</owners>
- <description>Simple REST and HTTP API Client</description>
+ <id>$id$</id>
+ <version>$version$</version>
+ <authors>$author$</authors>
+ <owners>$author$</owners>
+ <description>$description$</description>
<language>en-US</language>
<projectUrl>http://restsharp.org</projectUrl>
<licenseUrl>https://github.com/restsharp/RestSharp/blob/master/LICENSE.txt</licenseUrl>
<iconUrl>http://dl.dropbox.com/u/1827/restsharp100.png</iconUrl>
<tags>REST HTTP API JSON XML</tags>
<releaseNotes><![CDATA[
- For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.markdown
- ]]></releaseNotes>
+ For full release notes see https://github.com/restsharp/RestSharp/blob/master/releasenotes.markdown
+ ]]></releaseNotes>
</metadata>
</package>

0 comments on commit a7bbb3a

Please sign in to comment.