"Clean" also removes the "artifacts" folder

--HG--
branch : dev
This commit is contained in:
Renaud Paquay 2010-07-19 14:35:33 -07:00
parent 0c2087f479
commit 745a4dfd7f

View File

@ -7,9 +7,10 @@
<LibFolder>$(MSBuildProjectDirectory)\lib</LibFolder> <LibFolder>$(MSBuildProjectDirectory)\lib</LibFolder>
<SrcFolder>$(MSBuildProjectDirectory)\src</SrcFolder> <SrcFolder>$(MSBuildProjectDirectory)\src</SrcFolder>
<BuildFolder>$(MSBuildProjectDirectory)\build</BuildFolder> <BuildFolder>$(MSBuildProjectDirectory)\build</BuildFolder>
<ArtifactsFolder>$(MSBuildProjectDirectory)\artifacts</ArtifactsFolder>
<SqlCeFolder>$(MSBuildProjectDirectory)\lib\sqlce</SqlCeFolder> <SqlCeFolder>$(MSBuildProjectDirectory)\lib\sqlce</SqlCeFolder>
<SourceArtifactFolder>$(MSBuildProjectDirectory)\artifacts\Source</SourceArtifactFolder> <SourceArtifactFolder>$(ArtifactsFolder)\Source</SourceArtifactFolder>
<MsDeployArtifactFolder>$(MSBuildProjectDirectory)\artifacts\MsDeploy</MsDeployArtifactFolder> <MsDeployArtifactFolder>$(ArtifactsFolder)\MsDeploy</MsDeployArtifactFolder>
<ModulesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Modules</ModulesSrcFolder> <ModulesSrcFolder>$(MSBuildProjectDirectory)\src\Orchard.Web\Modules</ModulesSrcFolder>
<CompileFolder>$(BuildFolder)\Compile</CompileFolder> <CompileFolder>$(BuildFolder)\Compile</CompileFolder>
@ -65,6 +66,7 @@
<Target Name="Clean"> <Target Name="Clean">
<MSBuild Projects="$(SrcFolder)\Orchard.sln" Targets="Clean" /> <MSBuild Projects="$(SrcFolder)\Orchard.sln" Targets="Clean" />
<RemoveDir Directories="$(BuildFolder)" /> <RemoveDir Directories="$(BuildFolder)" />
<RemoveDir Directories="$(ArtifactsFolder)" />
</Target> </Target>
<Target Name ="Compile"> <Target Name ="Compile">