From f5bde98d40b2b3c223743b1e4c3f399c6320ea51 Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Thu, 11 Nov 2010 23:55:45 +0100 Subject: [PATCH] CI: Update continuous integration scripts to new structure --- .../TeamCity/apply-t4-templates.bat | 20 ---------------- .../TeamCity/codequality.proj | 24 ------------------- .../TeamCity/unittests.proj | 19 --------------- build/TeamCity/apply-t4-templates.bat | 22 +++++++++++++++++ .../TeamCity/bootstrap.proj | 0 .../TeamCity/on-checkin.proj | 14 +++++------ 6 files changed, 29 insertions(+), 70 deletions(-) delete mode 100644 build/ContinuousIntegration/TeamCity/apply-t4-templates.bat delete mode 100644 build/ContinuousIntegration/TeamCity/codequality.proj delete mode 100644 build/ContinuousIntegration/TeamCity/unittests.proj create mode 100644 build/TeamCity/apply-t4-templates.bat rename build/{ContinuousIntegration => }/TeamCity/bootstrap.proj (100%) rename build/{ContinuousIntegration => }/TeamCity/on-checkin.proj (58%) diff --git a/build/ContinuousIntegration/TeamCity/apply-t4-templates.bat b/build/ContinuousIntegration/TeamCity/apply-t4-templates.bat deleted file mode 100644 index 70012d10..00000000 --- a/build/ContinuousIntegration/TeamCity/apply-t4-templates.bat +++ /dev/null @@ -1,20 +0,0 @@ -IF DEFINED CommonProgramFiles(x86) GOTO x64 - -:x86 -SET common=%CommonProgramFiles% -GOTO prepare - -:x64 -SET common=%CommonProgramFiles(x86)% -GOTO prepare - -:prepare -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Numerics\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Version.tt -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Silverlight\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Silverlight\Version.tt - -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\AtlasLinearAlgebraProvider.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\AtlasLinearAlgebraProvider.tt -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\SafeNativeMethods.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Atlas\SafeNativeMethods.tt -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.tt -"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.tt - -set common= \ No newline at end of file diff --git a/build/ContinuousIntegration/TeamCity/codequality.proj b/build/ContinuousIntegration/TeamCity/codequality.proj deleted file mode 100644 index a0e6962e..00000000 --- a/build/ContinuousIntegration/TeamCity/codequality.proj +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/ContinuousIntegration/TeamCity/unittests.proj b/build/ContinuousIntegration/TeamCity/unittests.proj deleted file mode 100644 index cf06d377..00000000 --- a/build/ContinuousIntegration/TeamCity/unittests.proj +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Debug - False - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/TeamCity/apply-t4-templates.bat b/build/TeamCity/apply-t4-templates.bat new file mode 100644 index 00000000..acb66005 --- /dev/null +++ b/build/TeamCity/apply-t4-templates.bat @@ -0,0 +1,22 @@ +IF DEFINED CommonProgramFiles(x86) GOTO x64 + +:x86 +SET common=%CommonProgramFiles% +GOTO prepare + +:x64 +SET common=%CommonProgramFiles(x86)% +GOTO prepare + +:prepare +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Version.tt +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Silverlight\Version.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Silverlight\Version.tt + +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex.tt +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex32.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.Complex32.tt +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.double.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.double.tt +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.float.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\MklLinearAlgebraProvider.float.tt +"%common%\Microsoft Shared\TextTemplating\10.0\texttransform.exe" -out ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.cs -P "%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5" ..\..\src\Numerics\Algorithms\LinearAlgebra\Mkl\SafeNativeMethods.tt + + +set common= \ No newline at end of file diff --git a/build/ContinuousIntegration/TeamCity/bootstrap.proj b/build/TeamCity/bootstrap.proj similarity index 100% rename from build/ContinuousIntegration/TeamCity/bootstrap.proj rename to build/TeamCity/bootstrap.proj diff --git a/build/ContinuousIntegration/TeamCity/on-checkin.proj b/build/TeamCity/on-checkin.proj similarity index 58% rename from build/ContinuousIntegration/TeamCity/on-checkin.proj rename to build/TeamCity/on-checkin.proj index 3877ed90..9657887f 100644 --- a/build/ContinuousIntegration/TeamCity/on-checkin.proj +++ b/build/TeamCity/on-checkin.proj @@ -1,20 +1,20 @@ - - + + - - + + - + - + @@ -24,7 +24,7 @@ - + \ No newline at end of file