Christian Specht avatar Christian Specht committed 831ffbe Draft

rename release output folders ("lib-*" and "launcher-*")

Comments (0)

Files changed (1)

 
 	<!-- copy files to release folder -->
 	<Target Name="CopyRelease">
-		<MakeDir Directories="$(ReleaseDir)\bin"/>
+		<MakeDir Directories="$(ReleaseDir)\lib-bin"/>
 		<ItemGroup>
 			<ReleaseFiles
 				Include="$(OutDir)\*.*;
 				Exclude="$(OutDir)\*.pdb">
 			</ReleaseFiles>
 		</ItemGroup>
-		<Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(ReleaseDir)\bin"/>
+		<Copy SourceFiles="@(ReleaseFiles)" DestinationFolder="$(ReleaseDir)\lib-bin"/>
 	</Target>
 
 
 	<!-- copy files to launcher release folder -->
 	<Target Name="CopyReleaseLauncher">
-		<MakeDir Directories="$(ReleaseDir)\bin-launcher"/>
+		<MakeDir Directories="$(ReleaseDir)\launcher-bin"/>
 		<ItemGroup>
 			<LauncherReleaseFiles
 				Include="$(LauncherOutDir)\*.*;
 						$(LauncherOutDir)\*.xml">
 			</LauncherReleaseFiles>
 		</ItemGroup>
-		<Copy SourceFiles="@(LauncherReleaseFiles)" DestinationFolder="$(ReleaseDir)\bin-launcher"/>
+		<Copy SourceFiles="@(LauncherReleaseFiles)" DestinationFolder="$(ReleaseDir)\launcher-bin"/>
 	</Target>
 
 
 	<!-- create zip file with content of release\bin folder -->
 	<Target Name="Zip">
-		<CreateItem Include="$(ReleaseDir)\bin\*.*" >
+		<CreateItem Include="$(ReleaseDir)\lib-bin\*.*" >
 			<Output ItemName="ZipFiles" TaskParameter="Include"/>
 		</CreateItem>
-		<Zip ZipFileName="$(ReleaseDir)\zip\missilesharp-$(VersionNumber).zip" WorkingDirectory="$(ReleaseDir)\bin" Files="@(ZipFiles)" />
+		<Zip ZipFileName="$(ReleaseDir)\lib-zip\missilesharp-$(VersionNumber).zip" WorkingDirectory="$(ReleaseDir)\lib-bin" Files="@(ZipFiles)" />
 	</Target>
 
 
-	<!-- create zip file with content of release\bin-launcher folder -->
+	<!-- create zip file with content of release\launcher-bin folder -->
 	<Target Name="ZipLauncher">
-		<CreateItem Include="$(ReleaseDir)\bin-launcher\*.*" >
+		<CreateItem Include="$(ReleaseDir)\launcher-bin\*.*" >
 			<Output ItemName="LauncherZipFiles" TaskParameter="Include"/>
 		</CreateItem>
-		<Zip ZipFileName="$(ReleaseDir)\zip-launcher\missilesharp-launcher-$(VersionNumber).zip" WorkingDirectory="$(ReleaseDir)\bin-launcher" Files="@(LauncherZipFiles)" />
+		<Zip ZipFileName="$(ReleaseDir)\launcher-zip\missilesharp-launcher-$(VersionNumber).zip" WorkingDirectory="$(ReleaseDir)\launcher-bin" Files="@(LauncherZipFiles)" />
 	</Target>
 
 
 	<!-- create NuGet package-->
 	<Target Name="NuGet">
 		<MakeDir Directories="$(NuGetDir)\lib\net40"/>
-		<MakeDir Directories="$(ReleaseDir)\nuget"/>
+		<MakeDir Directories="$(ReleaseDir)\lib-nuget"/>
 		
 		<!-- 1. copy the whole release folder (except the assemblies) and the nuspec file into the temp. NuGet folder -->
 		<ItemGroup>
 			<PackageFiles1
-				Include="$(ReleaseDir)\bin\*.*;
+				Include="$(ReleaseDir)\lib-bin\*.*;
 						nuget\*.nuspec"
-				Exclude="$(ReleaseDir)\bin\*.dll;
-						$(ReleaseDir)\bin\*.xml">
+				Exclude="$(ReleaseDir)\lib-bin\*.dll;
+						$(ReleaseDir)\lib-bin\*.xml">
 			</PackageFiles1>
 		</ItemGroup>
 		<Copy SourceFiles="@(PackageFiles1)" DestinationFolder="$(NuGetDir)"/>
 		<!-- 2. copy the assemblies into the net40 subfolder -->
 		<ItemGroup>
 			<PackageFiles2
-				Include="$(ReleaseDir)\bin\m*.dll;
-						$(ReleaseDir)\bin\*.xml">
+				Include="$(ReleaseDir)\lib-bin\m*.dll;
+						$(ReleaseDir)\lib-bin\*.xml">
 			</PackageFiles2>
 		</ItemGroup>
 		<Copy SourceFiles="@(PackageFiles2)" DestinationFolder="$(NuGetDir)\lib\net40"/>
 		
 		<!-- 3. create package -->
-		<Exec Command="src\packages\NuGet.CommandLine.1.8.40002\tools\nuget.exe pack $(NuGetDir)\missilesharp.nuspec -OutputDirectory $(ReleaseDir)\nuget -Version $(VersionNumber)"></Exec>
+		<Exec Command="src\packages\NuGet.CommandLine.1.8.40002\tools\nuget.exe pack $(NuGetDir)\missilesharp.nuspec -OutputDirectory $(ReleaseDir)\lib-nuget -Version $(VersionNumber)"></Exec>
 	</Target>
 
 
 	<Target Name="ClickOnce">
 	
 		<PropertyGroup>
-			<PubDir>$(MSBuildProjectDirectory)\$(ReleaseDir)\clickonce-launcher\</PubDir>
-			<CodeplexPubDir>$(MSBuildProjectDirectory)\$(ReleaseDir)\clickonce-launcher-codeplex\</CodeplexPubDir>
+			<PubDir>$(MSBuildProjectDirectory)\$(ReleaseDir)\launcher-clickonce\</PubDir>
+			<CodeplexPubDir>$(MSBuildProjectDirectory)\$(ReleaseDir)\launcher-clickonce-codeplex\</CodeplexPubDir>
 		</PropertyGroup>
 	
 		<!-- 1. publish directly into the release folder -->
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.