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 2bab2d7728
commit 11817269e8

View file

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