Commits

Roger Kratz committed 933199e

starting to clean up release script

Comments (0)

Files changed (2)

Src/Build/NHibernate.Envers.nuspec

 		</dependencies>
 	</metadata>
 	<files>
-		<file src="Output\Deploy\NHibernate.Envers.dll" target="lib\Net35" />
-		<file src="Output\Deploy\NHibernate.Envers.pdb" target="lib\Net35" />
-		<file src="Output\Deploy\NHibernate.Envers.xml" target="lib\Net35" />
+		<file src="..\nhibernate.envers\bin\release\NHibernate.Envers.dll" target="lib\Net35" />
+		<file src="..\nhibernate.envers\bin\release\NHibernate.Envers.pdb" target="lib\Net35" />
+		<file src="..\nhibernate.envers\bin\release\NHibernate.Envers.xml" target="lib\Net35" />
 		<file src="..\nhibernate.envers\**\*.cs" target="src"/>
 		<file src="..\releasenotes.txt" target="readme.txt"/>
 	</files>

Src/Build/default.msbuild

 		<BuildFolder>$(MSBuildProjectDirectory)\Output</BuildFolder>
 		<NugetFolder>$([System.IO.Path]::Combine($(SourceDir), ".nuget"))</NugetFolder>
 		<DeployFolder>$(BuildFolder)\Deploy</DeployFolder>
-		<NugetDeployFolder>$(BuildFolder)\NugetDeploy</NugetDeployFolder>
 		<DocReferencePath>$(SourceDir)\doc\reference</DocReferencePath>
 		<ClassPath>"$(DocReferencePath)\support\lib\*"</ClassPath>
 		<TempDirectory>$(BuildFolder)\temp</TempDirectory>
 		<NHibernateFiles Include="$(SourceDir)\nhibernate.envers\bin\$(configuration)\Iesi.Collections.dll" />
 	</ItemGroup>
 
-	<Target Name="Build" DependsOnTargets="RunPdfBuild;RunBuild;CopyAllFilesToBuild;">
+	<Target Name="Build" DependsOnTargets="RunHtmlBuild;RunBuild">
 		<RemoveDir Directories="$(TempDirectory)"/>
 	</Target>
 	
 	<Target Name="nuget" DependsOnTargets="Build">
-		<Exec Command="$(NugetFolder)\NuGet pack NHibernate.Envers.nuspec -o $(NugetDeployFolder) -symbols -Prop Configuration=Release"
+		<Exec Command="$(NugetFolder)\NuGet pack NHibernate.Envers.nuspec -o $(DeployFolder) -symbols -Prop Configuration=Release"
 				  WorkingDirectory="$(MSBuildProjectDirectory)"/>
 	</Target>
 
 	<Target Name="RunBuild">
-		<MSBuild Projects="$(SourceDir)\NHibernate.Envers\NHibernate.Envers.csproj" Targets="Clean;Build" >
-			<Output ItemName="OutputFiles" TaskParameter="TargetOutputs"/>
-		</MSBuild>
+		<MSBuild Projects="$(SourceDir)\NHibernate.Envers\NHibernate.Envers.csproj" Targets="Clean;Build" />
 	</Target>
 
 	<Target Name="CopyAllFilesToBuild" DependsOnTargets="MakeBuildDirectory;CopyOutputsToBin;CopyExtraFiles"/>
 		<RemoveDir Directories="$(BuildFolder)" />
 		<MakeDir Directories="$(BuildFolder)" />
 		<MakeDir Directories="$(DeployFolder)" />
-		<MakeDir Directories="$(NugetDeployFolder)" />
 		<MakeDir Directories="$(TempDirectory)"/>
 		<MakeDir Directories="$(DeployHtmlFolder)"/>
 	</Target>
 
 	<Target Name="CopyOutputsToBin">
 		<Copy SourceFiles="@(OutputFiles)"
-			  DestinationFiles="@(OutputFiles->'$(DeployFolder)\%(RecursiveDir)%(Filename)%(Extension)')" />
+			  DestinationFiles="@(OutputFiles->'$(TempDirectory)\%(RecursiveDir)%(Filename)%(Extension)')" />
 	</Target>
 
 	<Target Name="CopyExtraFiles">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.