Permalink
Browse files

Adding nuget package generation in build script

  • Loading branch information...
1 parent eb29c6a commit 1bba7de916d1327e9068668dd4be3f66cc054192 @sebastienros committed Feb 24, 2012
Showing with 9 additions and 2 deletions.
  1. +8 −0 build.proj
  2. +1 −1 src/YesSql.Core/Properties/AssemblyInfo.cs
  3. +0 −1 src/YesSql.Core/YesSql.Core.csproj
View
@@ -17,6 +17,7 @@
<CallTarget Targets="Compile"/>
<CallTarget Targets="Test" />
<CallTarget Targets="Package" />
+ <CallTarget Targets="Nuget" />
</Target>
<Target Name="Clean">
@@ -48,4 +49,11 @@
Properties="Configuration=Release;OutputPath=$(ArtifactsFolder)" />
</Target>
+ <Target Name ="Nuget" DependsOnTargets="Package">
+ <MSBuild
+ Projects="$(SrcFolder)\YesSql.Core\YesSql.Core.csproj"
+ Targets="Build"
+ Properties="Configuration=Release;PackageOutputDir=$(ArtifactsFolder);BuildPackage=True" />
+ </Target>
+
</Project>
@@ -5,5 +5,5 @@
[assembly: AssemblyCompany("Sébastien Ros")]
[assembly: AssemblyCopyright("Sébastien Ros")]
-[assembly: AssemblyVersion("0.2")]
+[assembly: AssemblyVersion("0.3")]
[assembly: AssemblyFileVersion("1.0.0.0")]
@@ -14,7 +14,6 @@
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
- <BuildPackage>true</BuildPackage>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>

0 comments on commit 1bba7de

Please sign in to comment.