Fixed build target (was left into a debugging configuration) and replaced Run custom task with built-in Exec.

This commit is contained in:
the_fiddler 2010-10-06 14:54:37 +00:00
parent 0bc4ae2a1d
commit 0377744843

View file

@ -19,7 +19,7 @@
<InputPath>..\..\</InputPath>
<OutputPath>.\opentk\</OutputPath>
</PropertyGroup>
<Target Name="Build1">
<Target Name="Build">
<CallTarget Targets="CleanTreeCopy" />
<!-- Make a clean copy of the source tree -->
<CreateItem
@ -40,9 +40,7 @@
</CreateItem>
<Copy SourceFiles="@(FileList)" DestinationFiles="@(FileList->'$(OutputPath)%(RecursiveDir)%(Filename)%(Extension)')" />
<!-- Zip the copy of the source tree -->
<Run Command="7z a -tzip opentk.zip $(OutputPath)" />
</Target>
<Target Name="Build">
<Exec Command="7z a -tzip opentk.zip $(OutputPath)" />
<!-- Copy the zip file to the root directory and add a date stamp -->
<ReadLinesFromFile File="../../Version.txt">
<Output TaskParameter="Lines" ItemName="Version"/>