Skip to content

Commit

Permalink
Added targets to generate test helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
libardo committed Jul 30, 2011
1 parent 8f80575 commit f1e244a
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions build/n2.proj
Expand Up @@ -190,4 +190,46 @@
>
</MSBuild>
</Target>-->

<Target Name="Deploy-OpenAll">
<ItemGroup>
<openLine Include="$(DeployPrefix)Dinamico_Mvc\N2CMS\Dinamico.csproj" />
<openLine Include="pause" />
<openLine Include="$(DeployPrefix)Example_CS\CSharp_Example.sln" />
<openLine Include="pause" />
<openLine Include="$(DeployPrefix)Example_Mvc\Mvc_Example.sln" />
<openLine Include="pause" />
<openLine Include="$(DeployPrefix)Example_VB\VisualBasic_Example.sln" />
<openLine Include="pause" />
<openLine Include="cd /d $(DeployPrefix)Source\build" />
<openLine Include="cmd /c build.bat /target:PrepareDependencies" />
<openLine Include="cd ..\.." />
<openLine Include="$(DeployPrefix)Source\N2.Everything.sln" />
<openLine Include="pause" />
<openLine Include="copy $(DeployPrefix)Templates_Mvc\Libraries\System.Data.SQLite.dll $(DeployPrefix)Templates_Mvc\N2CMS\bin\" />
<openLine Include="$(DeployPrefix)Templates_Mvc\N2CMS\N2.Templates.Mvc.sln" />
<openLine Include="pause" />
<openLine Include="copy $(DeployPrefix)Templates_WebForms\Libraries\System.Data.SQLite.dll $(DeployPrefix)Templates_WebForms\N2CMS\bin\" />
<openLine Include="$(DeployPrefix)Templates_WebForms\N2CMS\N2.Templates.sln" />
</ItemGroup>
<WriteLinesToFile Lines="@(openLine)" File="$(DeployFolder)\OpenAll.bat" Overwrite="true" />
</Target>

<Target Name="Deploy-BuildAll">
<ItemGroup>
<buildLine Include="msbuild $(DeployPrefix)Dinamico_Mvc\N2CMS\Dinamico.csproj" />
<buildLine Include="msbuild $(DeployPrefix)Example_CS\CSharp_Example.sln" />
<buildLine Include="msbuild $(DeployPrefix)Example_Mvc\Mvc_Example.sln" />
<buildLine Include="msbuild $(DeployPrefix)Example_VB\VisualBasic_Example.sln" />
<buildLine Include="cd /d $(DeployPrefix)Source\build" />
<buildLine Include="cmd /c build.bat /target:PrepareDependencies" />
<buildLine Include="cd ..\.." />
<buildLine Include="msbuild $(DeployPrefix)Source\N2.Everything.sln" />
<buildLine Include="copy $(DeployPrefix)Templates_Mvc\Libraries\System.Data.SQLite.dll $(DeployPrefix)Templates_Mvc\N2CMS\bin\" />
<buildLine Include="msbuild $(DeployPrefix)Templates_Mvc\N2CMS\N2.Templates.Mvc.sln" />
<buildLine Include="copy $(DeployPrefix)Templates_WebForms\Libraries\System.Data.SQLite.dll $(DeployPrefix)Templates_WebForms\N2CMS\bin\" />
<buildLine Include="msbuild $(DeployPrefix)Templates_WebForms\N2CMS\N2.Templates.sln" />
</ItemGroup>
<WriteLinesToFile Lines="@(buildLine)" File="$(DeployFolder)\BuildAll.bat" Overwrite="true" />
</Target>
</Project>

0 comments on commit f1e244a

Please sign in to comment.