Skip to content

Commit

Permalink
Add CheckoutSpecTest build target
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Aug 14, 2010
1 parent b2b37b3 commit 0644ab9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Niecza.proj
Expand Up @@ -9,10 +9,12 @@

<!-- Other centralized variables -->
<STDUrl>http://svn.pugscode.org/pugs/src/perl6</STDUrl>
<SpecTestUrl>http://svn.pugscode.org/pugs/t/spec</SpecTestUrl>
<UseAOT>Y</UseAOT>

<!-- infrastructure -->
<STD_existed Condition="Exists('STD_checkout')">Y</STD_existed>
<SpecTest_existed Condition="Exists('t/spec')">Y</SpecTest_existed>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -93,6 +95,13 @@
ContinueOnError="true"/>
</Target>

<Target Name="CheckoutSpecTest">
<Exec Condition="$(SpecTest_existed) != 'Y'"
Command="$(Subversion) checkout $(SpecTestUrl) t/spec"/>
<Exec Condition="$(STD_existed) == 'Y'"
Command="$(Subversion) update t/spec"/>
</Target>

<Target Name="BuildSTD" Inputs=".STD_checkout_stamp"
Outputs=".STD_build_stamp" DependsOnTargets="CheckoutSTD">
<Exec WorkingDirectory="STD_checkout" Command="$(Make)"/>
Expand Down

0 comments on commit 0644ab9

Please sign in to comment.