Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added custom proj file and update build runner

  • Loading branch information...
commit 192cd271a72f21a5abef87a0206ae6883ece9f92 1 parent 84f7181
Brendan Forster shiftkey authored
Showing with 19 additions and 13 deletions.
  1. +2 −13 build.cmd
  2. +17 −0 build.proj
15 build.cmd
View
@@ -1,18 +1,7 @@
@echo Off
set config=%1
if "%config%" == "" (
- set config=debug
+ set config=Debug
)
-:: compile the code
-%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild src/Ideastrike.sln /p:Configuration="%config%" /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
-
-:: remove all obj folder contents
-for /D %%f in (".\tests\*") do @(
-del /S /Q "%%f\obj\*"
-)
-
-:: find all test files and run them
-for /R %%F in (*Tests.dll) do (
-.\tools\xunit\xunit.console.clr4.exe %%F
-)
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj /p:Configuration="%config%" /t:AppHarbor /m /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false
17 build.proj
View
@@ -0,0 +1,17 @@
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+
+ <UsingTask AssemblyFile=".\tools\xunit\xunit.runner.msbuild.dll" TaskName="Xunit.Runner.MSBuild.xunit" />
+
+ <Target Name="Compile">
+ <Message Text=" ===========Building Website===========" Importance="High" />
+ <MSBuild Projects="./src/Ideastrike.sln" Properties="Configuration=$(Configuration)" />
+ </Target>
+
+
+ <Target Name="AppHarbor" DependsOnTargets="Compile">
+ <Message Text="===========Testing AppHarbor Build===========" Importance="High" />
+
+ <MSBuild Projects="./src/AppHarbor.sln" Properties="Configuration=$(Configuration)" />
+ </Target>
+
+</Project>
Please sign in to comment.
Something went wrong with that request. Please try again.