Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Remove source code generation
Browse files Browse the repository at this point in the history
Modern hosting sites, like GitHub, automatically enable downloading the
source as a zip file. There is no need to produce a zip file as part of
the build process.
  • Loading branch information
terrajobst committed Aug 26, 2014
1 parent 488dff1 commit 860f528
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions tools/build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<GeneratedBinaries>$(OutputDir)raw\</GeneratedBinaries>
<GeneratedHelp>$(OutputDir)help\</GeneratedHelp>
<GeneratedSetup>$(OutputDir)setup\</GeneratedSetup>
<GeneratedSourceCode>$(OutputDir)src\</GeneratedSourceCode>
<GeneratedSamples>$(OutputDir)samples\</GeneratedSamples>
<GeneratedRelease>$(OutputDir)release\</GeneratedRelease>
<Configuration>Release</Configuration>
Expand Down Expand Up @@ -84,7 +83,6 @@
<CallTarget Targets="Compile" />
<CallTarget Targets="GenerateHelp" />
<CallTarget Targets="GenerateSetup" />
<CallTarget Targets="GenerateSourceCode" />
<CallTarget Targets="GenerateSamples" />
<CallTarget Targets="GenerateRelease" />
</Target>
Expand Down Expand Up @@ -168,35 +166,6 @@
WixTasksPath=$(WixTasksPath)" />
</Target>

<!-- Generate Source Code -->

<Target Name="GenerateSourceCode">
<ItemGroup>
<SourceCodeFiles Include="$(ProjectDir)**\*.*"
Exclude="$(ProjectDir).git\**\*.*;
$(ProjectDir).git*;
$(OutputDir)**;
$(LibDir)**;
$(HelpDir)Help\**\*.*;
$(SamplesDir)*\Help\**\*.*;
$(ProjectDir)**\bin\**;
$(ProjectDir)**\obj\**;
$(ProjectDir)**\*.suo;
$(ProjectDir)**\*.cache;
$(ProjectDir)**\*.user;
$(ProjectDir)**\*.resharper" />
</ItemGroup>

<Copy SourceFiles="@(SourceCodeFiles)"
DestinationFolder="$(GeneratedSourceCode)%(RecursiveDir)" />

<!-- For some strange reason, excluding $(CustomTasksDir)**\*.* does not work. I assume there are some weird issues
in MSBuild that causes currently opened/locked files not being added correctly to the list of exclusions.
-->
<RemoveDir Directories="$(GeneratedSourceCode)\Build\Custom Tasks" />

</Target>

<!-- Generate Samples -->

<Target Name="GenerateSamples" DependsOnTargets="GetVersion">
Expand Down

0 comments on commit 860f528

Please sign in to comment.