mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 05:35:35 +00:00
Corrected zip build script
Excluded items are now really excluded.
This commit is contained in:
parent
ca36c6f26a
commit
6a8ee08024
|
@ -15,7 +15,6 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7B}</ProjectGuid>
|
<ProjectGuid>{ADC34399-7613-44D2-90B2-19250F06FE7B}</ProjectGuid>
|
||||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||||
<InputPath>..\..\</InputPath>
|
|
||||||
<OutputPath>.\opentk\</OutputPath>
|
<OutputPath>.\opentk\</OutputPath>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
@ -50,12 +49,12 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Target Name="Build">
|
<Target Name="Build">
|
||||||
<!-- Zip the copy of the source tree -->
|
<!-- Zip the copy of the source tree -->
|
||||||
<Exec Command="7z a -tzip opentk.zip ../../* '-xr!opentk*.zip' '-xr!opentk*.exe' '-xr!.*' '-xr!obj' '-xr!Documentation/Source' '-xr!Automation' '-xr!*.suo' '-xr!*.pidb' '-xr!*.userprefs' '-xr!vshost*.exe'" />
|
<Exec Command="7z a -tzip opentk.zip ../../* -xr!opentk*.zip -xr!opentk*.exe -xr!.* -xr!obj -xr!bin -xr!Documentation/Source -xr!Automation -xr!*.suo -xr!*.pidb -xr!*.userprefs -xr!*vshost.exe* -xr!*.log" />
|
||||||
<!-- 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" />
|
||||||
</ReadLinesFromFile>
|
</ReadLinesFromFile>
|
||||||
<Copy SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
<Move SourceFiles=".\opentk.zip" DestinationFiles="@(Version->'..\..\opentk-%(Identity).zip')" />
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="Clean">
|
<Target Name="Clean">
|
||||||
<CreateItem Include=".\opentk.zip;..\..\opentk-*.zip">
|
<CreateItem Include=".\opentk.zip;..\..\opentk-*.zip">
|
||||||
|
|
Loading…
Reference in a new issue