albacore 0.6.2.rc1 → 1.0.0.rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (644) hide show
  1. checksums.yaml +7 -0
  2. data/.bundle/config +2 -0
  3. data/.gitignore +22 -3
  4. data/.rspec +2 -0
  5. data/.rvmrc +1 -0
  6. data/.travis.yml +15 -13
  7. data/CONTRIBUTING.md +87 -0
  8. data/Gemfile +6 -14
  9. data/Guardfile +3 -1
  10. data/LICENSE +21 -0
  11. data/README.md +47 -148
  12. data/Rakefile +24 -9
  13. data/albacore.gemspec +25 -32
  14. data/lib/albacore.rb +40 -3
  15. data/lib/albacore/albacoretask.rb +50 -0
  16. data/lib/albacore/aspnetcompiler.rb +58 -0
  17. data/lib/albacore/assemblyinfo.rb +182 -0
  18. data/lib/albacore/assemblyinfolanguages/assemblyinfoengine.rb +41 -0
  19. data/lib/albacore/assemblyinfolanguages/cppcliengine.rb +18 -0
  20. data/lib/albacore/assemblyinfolanguages/csharpengine.rb +15 -0
  21. data/lib/albacore/assemblyinfolanguages/fsharpengine.rb +23 -0
  22. data/lib/albacore/assemblyinfolanguages/vbnetengine.rb +15 -0
  23. data/lib/albacore/config/aspnetcompilerconfig.rb +29 -0
  24. data/lib/albacore/config/assemblyinfoconfig.rb +20 -0
  25. data/lib/albacore/config/config.rb +22 -0
  26. data/lib/albacore/config/cscconfig.rb +28 -0
  27. data/lib/albacore/config/docuconfig.rb +23 -0
  28. data/lib/albacore/config/execconfig.rb +15 -0
  29. data/lib/albacore/config/fluentmigratorrunnerconfig.rb +15 -0
  30. data/lib/albacore/config/ilmergeconfig.rb +24 -0
  31. data/lib/albacore/config/msbuildconfig.rb +29 -0
  32. data/lib/albacore/config/msdeployconfig.rb +15 -0
  33. data/lib/albacore/config/mspectestrunnerconfig.rb +15 -0
  34. data/lib/albacore/config/mstesttestrunnerconfig.rb +15 -0
  35. data/lib/albacore/config/nantconfig.rb +15 -0
  36. data/lib/albacore/config/nchurnconfig.rb +15 -0
  37. data/lib/albacore/config/ncoverconsoleconfig.rb +15 -0
  38. data/lib/albacore/config/ncoverreportconfig.rb +15 -0
  39. data/lib/albacore/config/ndependconfig.rb +15 -0
  40. data/lib/albacore/config/netversion.rb +24 -0
  41. data/lib/albacore/config/nugetpackconfig.rb +19 -0
  42. data/lib/albacore/config/nugetpublishconfig.rb +19 -0
  43. data/lib/albacore/config/nugetpushconfig.rb +19 -0
  44. data/lib/albacore/config/nugetupdateconfig.rb +19 -0
  45. data/lib/albacore/config/nunittestrunnerconfig.rb +14 -0
  46. data/lib/albacore/config/specflowreportconfig.rb +24 -0
  47. data/lib/albacore/config/sqlcmdconfig.rb +15 -0
  48. data/lib/albacore/config/unzipconfig.rb +15 -0
  49. data/lib/albacore/config/vssgetconfig.rb +14 -0
  50. data/lib/albacore/config/xbuildconfig.rb +15 -0
  51. data/lib/albacore/config/xunittestrunnerconfig.rb +15 -0
  52. data/lib/albacore/config/zipdirectoryconfig.rb +15 -0
  53. data/lib/albacore/csc.rb +67 -0
  54. data/lib/albacore/docu.rb +41 -0
  55. data/lib/albacore/exec.rb +18 -0
  56. data/lib/albacore/fluentmigratorrunner.rb +52 -0
  57. data/lib/albacore/ilmerge.rb +65 -0
  58. data/lib/albacore/msbuild.rb +78 -0
  59. data/lib/albacore/msdeploy.rb +122 -0
  60. data/lib/albacore/mspectestrunner.rb +50 -0
  61. data/lib/albacore/mstesttestrunner.rb +43 -0
  62. data/lib/albacore/nant.rb +38 -0
  63. data/lib/albacore/nchurn.rb +74 -0
  64. data/lib/albacore/ncoverconsole.rb +68 -0
  65. data/lib/albacore/ncoverreport.rb +62 -0
  66. data/lib/albacore/ncoverreports/assemblyfilter.rb +10 -0
  67. data/lib/albacore/ncoverreports/branchcoverage.rb +10 -0
  68. data/lib/albacore/ncoverreports/classfilter.rb +9 -0
  69. data/lib/albacore/ncoverreports/codecoveragebase.rb +25 -0
  70. data/lib/albacore/ncoverreports/cyclomaticcomplexity.rb +23 -0
  71. data/lib/albacore/ncoverreports/documentfilter.rb +9 -0
  72. data/lib/albacore/ncoverreports/fullcoveragereport.rb +13 -0
  73. data/lib/albacore/ncoverreports/methodcoverage.rb +10 -0
  74. data/lib/albacore/ncoverreports/methodfilter.rb +9 -0
  75. data/lib/albacore/ncoverreports/namespacefilter.rb +9 -0
  76. data/lib/albacore/ncoverreports/reportfilterbase.rb +26 -0
  77. data/lib/albacore/ncoverreports/summaryreport.rb +18 -0
  78. data/lib/albacore/ncoverreports/symbolcoverage.rb +9 -0
  79. data/lib/albacore/ndepend.rb +33 -0
  80. data/lib/albacore/nugetinstall.rb +57 -0
  81. data/lib/albacore/nugetpack.rb +54 -0
  82. data/lib/albacore/nugetpublish.rb +47 -0
  83. data/lib/albacore/nugetpush.rb +46 -0
  84. data/lib/albacore/nugetupdate.rb +51 -0
  85. data/lib/albacore/nunittestrunner.rb +41 -0
  86. data/lib/albacore/nuspec.rb +178 -0
  87. data/lib/albacore/output.rb +108 -0
  88. data/lib/albacore/plink.rb +47 -0
  89. data/lib/albacore/specflowreport.rb +62 -0
  90. data/lib/albacore/sqlcmd.rb +82 -0
  91. data/lib/albacore/support/attrmethods.rb +33 -0
  92. data/lib/albacore/support/createtask.rb +50 -0
  93. data/lib/albacore/support/failure.rb +15 -0
  94. data/lib/albacore/support/logging.rb +38 -0
  95. data/lib/albacore/support/openstruct.rb +13 -0
  96. data/lib/albacore/support/runcommand.rb +45 -0
  97. data/lib/albacore/support/supportlinux.rb +21 -0
  98. data/lib/albacore/support/updateattributes.rb +13 -0
  99. data/lib/albacore/support/yamlconfig.rb +18 -0
  100. data/lib/albacore/unzip.rb +34 -0
  101. data/lib/albacore/version.rb +3 -3
  102. data/lib/albacore/vssget.rb +44 -0
  103. data/lib/albacore/xbuild.rb +54 -0
  104. data/lib/albacore/xunittestrunner.rb +56 -0
  105. data/lib/albacore/zipdirectory.rb +108 -0
  106. data/samples/Rakefile +154 -0
  107. data/spec/README.md +9 -0
  108. data/spec/albacoremodel_spec.rb +53 -0
  109. data/spec/assemblyinfo_contexts.rb +52 -0
  110. data/spec/assemblyinfo_spec.rb +477 -0
  111. data/spec/attrmethods_spec.rb +136 -0
  112. data/spec/config_spec.rb +34 -0
  113. data/spec/createtask_spec.rb +237 -0
  114. data/spec/csc_spec.rb +253 -0
  115. data/spec/docu_spec.rb +109 -0
  116. data/spec/exec_spec.rb +45 -0
  117. data/spec/fluentmigratorrunner_spec.rb +263 -0
  118. data/spec/ilmerge_spec.rb +93 -0
  119. data/spec/msbuild_spec.rb +287 -0
  120. data/spec/msdeploy_spec.rb +124 -0
  121. data/spec/mspec_spec.rb +28 -0
  122. data/spec/mstesttestrunner_spec.rb +144 -0
  123. data/spec/nant_spec.rb +110 -0
  124. data/spec/nchurn_spec.rb +75 -0
  125. data/spec/ncoverconsole_spec.rb +353 -0
  126. data/spec/ncoverreport_spec.rb +619 -0
  127. data/spec/ndepend_spec.rb +72 -0
  128. data/spec/netversion_spec.rb +53 -0
  129. data/spec/nugetinstall_spec.rb +47 -0
  130. data/spec/nugetupdate_spec.rb +42 -0
  131. data/spec/nunittestrunner_spec.rb +115 -0
  132. data/spec/nuspec_spec.rb +127 -0
  133. data/spec/output_spec.rb +165 -0
  134. data/spec/patches/docu_patch.rb +13 -0
  135. data/spec/patches/fail_patch.rb +9 -0
  136. data/spec/patches/system_patch.rb +20 -0
  137. data/spec/plink_spec.rb +62 -0
  138. data/spec/runcommand_spec.rb +94 -0
  139. data/spec/spec.opts +1 -0
  140. data/spec/spec_helper.rb +15 -13
  141. data/spec/specflowreport_spec.rb +143 -0
  142. data/spec/sqlcmd_spec.rb +334 -0
  143. data/spec/support/AssemblyInfo/AssemblyInfo.test +6 -0
  144. data/spec/support/AssemblyInfo/AssemblyInfoInput.test +9 -0
  145. data/spec/support/AssemblyInfo/assemblyinfo.yml +2 -0
  146. data/spec/support/CodeCoverage/mspec/assemblies/Machine.Specifications.dll +0 -0
  147. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.MSpecTests.dll +0 -0
  148. data/spec/support/CodeCoverage/mspec/assemblies/TestSolution.dll +0 -0
  149. data/spec/support/CodeCoverage/mspec/assemblies/nunit.framework.dll +0 -0
  150. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.NET40.dll +0 -0
  151. data/spec/support/CodeCoverage/mstest/TestSolution.MSTestTests.dll +0 -0
  152. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.Tests.dll +0 -0
  153. data/spec/support/CodeCoverage/nunit/assemblies/TestSolution.dll +0 -0
  154. data/spec/support/CodeCoverage/nunit/assemblies/nunit.framework.dll +0 -0
  155. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.Tests.dll +0 -0
  156. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/TestSolution.dll +0 -0
  157. data/spec/support/CodeCoverage/nunit/assemblies/with spaces/nunit.framework.dll +0 -0
  158. data/spec/support/CodeCoverage/nunit/failing_assemblies/TestSolution.FailingTests.dll +0 -0
  159. data/spec/support/CodeCoverage/nunit/failing_assemblies/nunit.framework.dll +0 -0
  160. data/spec/support/CodeCoverage/report/coverage.xml +4578 -0
  161. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll +0 -0
  162. data/spec/support/CodeCoverage/xunit/assemblies/TestSolution.dll +0 -0
  163. data/spec/support/CodeCoverage/xunit/assemblies/xunit.dll +0 -0
  164. data/spec/support/CodeCoverage/xunit/assemblies/xunit.xml +2604 -0
  165. data/spec/support/FluentMigrator/FluentMigrator.dll +0 -0
  166. data/spec/support/FluentMigrator/TestSolution.FluentMigrator.dll +0 -0
  167. data/spec/support/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  168. data/spec/support/SpecFlow/TestSolution.SpecFlow.dll +0 -0
  169. data/spec/support/SpecFlow/TestSolution.SpecFlow.pdb +0 -0
  170. data/spec/support/SpecFlow/TestSolution.dll +0 -0
  171. data/spec/support/SpecFlow/TestSolution.pdb +0 -0
  172. data/spec/support/SpecFlow/nunit.framework.dll +0 -0
  173. data/spec/support/TestSolution/LocalTestRun.testrunconfig +5 -0
  174. data/spec/support/TestSolution/NDependProject.xml +315 -0
  175. data/spec/support/TestSolution/TestSolution.5.0.ReSharper.user +27 -0
  176. data/spec/support/TestSolution/TestSolution.FailingTests/FailingTestFixture.cs +19 -0
  177. data/spec/support/TestSolution/TestSolution.FailingTests/Properties/AssemblyInfo.cs +36 -0
  178. data/spec/support/TestSolution/TestSolution.FailingTests/TestSolution.FailingTests.csproj +101 -0
  179. data/spec/support/TestSolution/TestSolution.FluentMigrator/M001_SampleMigration.cs +19 -0
  180. data/spec/support/TestSolution/TestSolution.FluentMigrator/Properties/AssemblyInfo.cs +36 -0
  181. data/spec/support/TestSolution/TestSolution.FluentMigrator/TestSolution.FluentMigrator.csproj +101 -0
  182. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy.sln +20 -0
  183. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx +13 -0
  184. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.cs +17 -0
  185. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/About.aspx.designer.cs +17 -0
  186. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx +60 -0
  187. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.cs +17 -0
  188. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePassword.aspx.designer.cs +26 -0
  189. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx +13 -0
  190. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.cs +17 -0
  191. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/ChangePasswordSuccess.aspx.designer.cs +17 -0
  192. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx +49 -0
  193. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.cs +17 -0
  194. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Login.aspx.designer.cs +35 -0
  195. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx +75 -0
  196. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.cs +32 -0
  197. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Register.aspx.designer.cs +35 -0
  198. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Account/Web.config +18 -0
  199. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx +17 -0
  200. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.cs +17 -0
  201. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Default.aspx.designer.cs +17 -0
  202. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax +1 -0
  203. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Global.asax.cs +47 -0
  204. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Properties/AssemblyInfo.cs +35 -0
  205. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1-vsdoc.js +8061 -0
  206. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.js +6111 -0
  207. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Scripts/jquery-1.4.1.min.js +167 -0
  208. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master +51 -0
  209. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.cs +17 -0
  210. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Site.Master.designer.cs +71 -0
  211. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Styles/Site.css +294 -0
  212. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.Publish.xml +2 -0
  213. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/TestSolution.MSDeploy.csproj +163 -0
  214. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Debug.config +30 -0
  215. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.Release.config +31 -0
  216. data/spec/support/TestSolution/TestSolution.MSDeploy/TestSolution.MSDeploy/Web.config +52 -0
  217. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Properties/AssemblyInfo.cs +36 -0
  218. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/TestSolution.MSTestTests.NET40.csproj +53 -0
  219. data/spec/support/TestSolution/TestSolution.MSTestTests.NET40/Tests.cs +20 -0
  220. data/spec/support/TestSolution/TestSolution.MSTestTests/Properties/AssemblyInfo.cs +35 -0
  221. data/spec/support/TestSolution/TestSolution.MSTestTests/TestSolution.MSTestTests.csproj +97 -0
  222. data/spec/support/TestSolution/TestSolution.MSTestTests/Tests.cs +20 -0
  223. data/spec/support/TestSolution/TestSolution.MSpecTests/Properties/AssemblyInfo.cs +36 -0
  224. data/spec/support/TestSolution/TestSolution.MSpecTests/SomeSpecTest.cs +18 -0
  225. data/spec/support/TestSolution/TestSolution.MSpecTests/TestSolution.MSpecTests.csproj +110 -0
  226. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature +8 -0
  227. data/spec/support/TestSolution/TestSolution.SpecFlow/OneFeature.feature.cs +73 -0
  228. data/spec/support/TestSolution/TestSolution.SpecFlow/Properties/AssemblyInfo.cs +36 -0
  229. data/spec/support/TestSolution/TestSolution.SpecFlow/StepDefinition.cs +30 -0
  230. data/spec/support/TestSolution/TestSolution.SpecFlow/TestSolution.SpecFlow.csproj +122 -0
  231. data/spec/support/TestSolution/TestSolution.Tests/Properties/AssemblyInfo.cs +36 -0
  232. data/spec/support/TestSolution/TestSolution.Tests/SomeTestFixture.cs +23 -0
  233. data/spec/support/TestSolution/TestSolution.Tests/TestSolution.Tests.csproj +107 -0
  234. data/spec/support/TestSolution/TestSolution.XUnitTests/Class1.cs +20 -0
  235. data/spec/support/TestSolution/TestSolution.XUnitTests/FailingTestFixture.cs +14 -0
  236. data/spec/support/TestSolution/TestSolution.XUnitTests/Properties/AssemblyInfo.cs +36 -0
  237. data/spec/support/TestSolution/TestSolution.XUnitTests/TestSolution.XUnitTests.csproj +108 -0
  238. data/spec/support/TestSolution/TestSolution.build +25 -0
  239. data/spec/support/TestSolution/TestSolution.sln +75 -0
  240. data/spec/support/TestSolution/TestSolution.vsmdi +6 -0
  241. data/spec/support/TestSolution/TestSolution/Class1.cs +17 -0
  242. data/spec/support/TestSolution/TestSolution/Properties/AssemblyInfo.cs +36 -0
  243. data/spec/support/TestSolution/TestSolution/TestSolution.csproj +97 -0
  244. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.MSBuild.dll +0 -0
  245. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.NAnt.dll +0 -0
  246. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.dll +0 -0
  247. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Runner.pdb +0 -0
  248. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.dll +0 -0
  249. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.Tests.pdb +0 -0
  250. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.dll +0 -0
  251. data/spec/support/Tools/FluentMigrator-0.9/FluentMigrator.pdb +0 -0
  252. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe +0 -0
  253. data/spec/support/Tools/FluentMigrator-0.9/Migrate.exe.config +6 -0
  254. data/spec/support/Tools/FluentMigrator-0.9/Moq.dll +0 -0
  255. data/spec/support/Tools/FluentMigrator-0.9/Moq.xml +3467 -0
  256. data/spec/support/Tools/FluentMigrator-0.9/MySql.Data.dll +0 -0
  257. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.dll +0 -0
  258. data/spec/support/Tools/FluentMigrator-0.9/NAnt.Core.xml +14880 -0
  259. data/spec/support/Tools/FluentMigrator-0.9/Oracle.DataAccess.dll +0 -0
  260. data/spec/support/Tools/FluentMigrator-0.9/System.Data.SQLite.DLL +0 -0
  261. data/spec/support/Tools/FluentMigrator-0.9/log4net.dll +0 -0
  262. data/spec/support/Tools/FluentMigrator-0.9/nunit.framework.dll +0 -0
  263. data/spec/support/Tools/FluentMigrator-0.9/nunit.should.dll +0 -0
  264. data/spec/support/Tools/FluentMigrator-0.9/testscript.sql +1 -0
  265. data/spec/support/Tools/MSTest-2008/MSTest.exe +0 -0
  266. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  267. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  268. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  269. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  270. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  271. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  272. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  273. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  274. data/spec/support/Tools/MSTest-2008/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  275. data/spec/support/Tools/MSTest-2010/MSTest.exe +0 -0
  276. data/spec/support/Tools/MSTest-2010/MSTest.exe.config +31 -0
  277. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentObject.dll +0 -0
  278. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.AgentProcessManager.dll +0 -0
  279. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CMI.dll +0 -0
  280. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CheckinPolicies.dll +0 -0
  281. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodeCoverage.dll +0 -0
  282. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITest.Controls.dll +0 -0
  283. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll +0 -0
  284. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CodedUITestPackage.dll +0 -0
  285. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.CommandLine.dll +0 -0
  286. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Common.dll +0 -0
  287. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Controller.SpooledJob.dll +0 -0
  288. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ControllerObject.dll +0 -0
  289. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.DataCollectionAgentObject.dll +0 -0
  290. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll +0 -0
  291. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAdapter.dll +0 -0
  292. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.HostAdapters.ASPNETAgent.dll +0 -0
  293. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Linking.dll +0 -0
  294. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTest.dll +0 -0
  295. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll +0 -0
  296. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.dll.manifest +296 -0
  297. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelAddIn.vsto +150 -0
  298. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.dll +0 -0
  299. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExcelCommon.tlb +0 -0
  300. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestExec.dll +0 -0
  301. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll +0 -0
  302. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestPackage.dll +0 -0
  303. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.LoadTestUI.dll +0 -0
  304. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NICServices.dll +0 -0
  305. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.NetworkEmulation.dll +0 -0
  306. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.OperationalStore.ClientHelper.dll +0 -0
  307. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBar.dll +0 -0
  308. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.RecorderBarBHO100.dll +0 -0
  309. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Resource.dll +0 -0
  310. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Sqm.dll +0 -0
  311. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TMI.dll +0 -0
  312. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.TestCaseManagement.dll +0 -0
  313. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Adapter.dll +0 -0
  314. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.ObjectModel.dll +0 -0
  315. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.GenericTest.Tip.dll +0 -0
  316. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Adapter.dll +0 -0
  317. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.ObjectModel.dll +0 -0
  318. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.ManualTest.Tip.dll +0 -0
  319. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Adapter.dll +0 -0
  320. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.ObjectModel.dll +0 -0
  321. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.OrderedTest.Tip.dll +0 -0
  322. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.TuipPackage.dll +0 -0
  323. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Adapter.dll +0 -0
  324. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.AssemblyResolver.dll +0 -0
  325. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.ObjectModel.dll +0 -0
  326. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.UnitTest.Tip.dll +0 -0
  327. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Tips.WebLoadTest.Tip.dll +0 -0
  328. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll +0 -0
  329. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Vsip.dll +0 -0
  330. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WarehouseCommon.dll +0 -0
  331. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestFramework.dll +0 -0
  332. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.WebTestPlayback.dll +0 -0
  333. data/spec/support/Tools/MSTest-2010/Microsoft.VisualStudio.QualityTools.Wizard.TestProjectWizards.dll +0 -0
  334. data/spec/support/Tools/MSTest-2010/mstest.reg +0 -0
  335. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.TDNetRunner.dll +0 -0
  336. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll +0 -0
  337. data/spec/support/Tools/Machine.Specifications-0.5.3/lib/Machine.Specifications.dll.tdnet +5 -0
  338. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.dll +0 -0
  339. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/CommandLine.xml +504 -0
  340. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.1.bat +5 -0
  341. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.4.5.bat +5 -0
  342. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2008.bat +5 -0
  343. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.0 - VS2010.bat +5 -0
  344. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2008.bat +5 -0
  345. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.5.1 - VS2010.bat +5 -0
  346. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2008.bat +5 -0
  347. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.0 - VS2010.bat +5 -0
  348. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2008.bat +5 -0
  349. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallResharperRunner.6.1 - VS2010.bat +5 -0
  350. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunner.bat +16 -0
  351. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/InstallTDNetRunnerSilent.bat +16 -0
  352. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/License.txt +54 -0
  353. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.3.1.dll +0 -0
  354. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.GallioAdapter.plugin +43 -0
  355. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.1.dll +0 -0
  356. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.4.5.dll +0 -0
  357. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.0.dll +0 -0
  358. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.5.1.dll +0 -0
  359. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
  360. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
  361. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
  362. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.Reporting.dll +0 -0
  363. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
  364. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.TDNetRunner.dll +0 -0
  365. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.WatinSupport.dll +0 -0
  366. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll +0 -0
  367. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Machine.Specifications.dll.tdnet +5 -0
  368. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/Spark.dll +0 -0
  369. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/TestDriven.Framework.dll +0 -0
  370. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/install.ps1 +6 -0
  371. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe +0 -0
  372. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-clr4.exe.config +6 -0
  373. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe +0 -0
  374. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86-clr4.exe.config +6 -0
  375. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec-x86.exe +0 -0
  376. data/spec/support/Tools/Machine.Specifications-0.5.3/tools/mspec.exe +0 -0
  377. data/spec/support/Tools/NAnt-0.85/COPYING.txt +340 -0
  378. data/spec/support/Tools/NAnt-0.85/README.txt +144 -0
  379. data/spec/support/Tools/NChurn-v0.4/LICENSE.txt +133 -0
  380. data/spec/support/Tools/NChurn-v0.4/NChurn.exe +0 -0
  381. data/spec/support/Tools/NChurn-v0.4/README.md +171 -0
  382. data/spec/support/Tools/NChurn-v0.4/VERSION +1 -0
  383. data/spec/support/Tools/NChurn-v0.4/churn-0.4.0.0.txt +178 -0
  384. data/spec/support/Tools/NCover-v3.3/ActiproEULA.hml +287 -0
  385. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Shared.Wpf30.dll +0 -0
  386. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Addons.DotNet.Wpf30.dll +0 -0
  387. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.SyntaxEditor.Wpf30.dll +0 -0
  388. data/spec/support/Tools/NCover-v3.3/ActiproSoftware.Text.Net20.dll +0 -0
  389. data/spec/support/Tools/NCover-v3.3/AdminBootstrapper.exe +0 -0
  390. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildNCoverExample.proj +237 -0
  391. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/MSBuildReportingExample.proj +224 -0
  392. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntNCoverExample.build +241 -0
  393. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NAntReportingExample.build +218 -0
  394. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.MSBuildTasks.dll +0 -0
  395. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCover.NAntTasks.dll +0 -0
  396. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.MSBuildTasks.dll +0 -0
  397. data/spec/support/Tools/NCover-v3.3/Build Task Plugins/NCoverExplorer.NAntTasks.dll +0 -0
  398. data/spec/support/Tools/NCover-v3.3/CC.Net/NCoverReporting30.xsl +2313 -0
  399. data/spec/support/Tools/NCover-v3.3/CC.Net/dashboard.config +55 -0
  400. data/spec/support/Tools/NCover-v3.3/CC.Net/excanvas.js +35 -0
  401. data/spec/support/Tools/NCover-v3.3/CC.Net/g.png +0 -0
  402. data/spec/support/Tools/NCover-v3.3/CC.Net/jquery-1.3.2.min.js +19 -0
  403. data/spec/support/Tools/NCover-v3.3/CC.Net/r.png +0 -0
  404. data/spec/support/Tools/NCover-v3.3/CC.Net/readme.txt +51 -0
  405. data/spec/support/Tools/NCover-v3.3/CC.Net/trends.js +184 -0
  406. data/spec/support/Tools/NCover-v3.3/CC.Net/y.png +0 -0
  407. data/spec/support/Tools/NCover-v3.3/MSVCM90.dll +0 -0
  408. data/spec/support/Tools/NCover-v3.3/MSVCP90.dll +0 -0
  409. data/spec/support/Tools/NCover-v3.3/MSVCR90.dll +0 -0
  410. data/spec/support/Tools/NCover-v3.3/Microsoft.VC90.CRT.manifest +13 -0
  411. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.Linq.dll +0 -0
  412. data/spec/support/Tools/NCover-v3.3/Mindscape.LightSpeed.dll +0 -0
  413. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe +0 -0
  414. data/spec/support/Tools/NCover-v3.3/NCover.Console.exe.config +55 -0
  415. data/spec/support/Tools/NCover-v3.3/NCover.Data.x86.dll +0 -0
  416. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.Framework.dll +0 -0
  417. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe +0 -0
  418. data/spec/support/Tools/NCover-v3.3/NCover.Explorer.exe.config +16 -0
  419. data/spec/support/Tools/NCover-v3.3/NCover.Framework.XmlSerializers.dll +0 -0
  420. data/spec/support/Tools/NCover-v3.3/NCover.Framework.dll +0 -0
  421. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.Core.dll +0 -0
  422. data/spec/support/Tools/NCover-v3.3/NCover.Interfaces.dll +0 -0
  423. data/spec/support/Tools/NCover-v3.3/NCover.Legacy.Configuration.dll +0 -0
  424. data/spec/support/Tools/NCover-v3.3/NCover.Lib.x86.dll +0 -0
  425. data/spec/support/Tools/NCover-v3.3/NCover.Registration.exe +0 -0
  426. data/spec/support/Tools/NCover-v3.3/NCover.Reporting.exe +0 -0
  427. data/spec/support/Tools/NCover-v3.3/NCover.Runner.dll +0 -0
  428. data/spec/support/Tools/NCover-v3.3/NCover.UpConvert.exe +0 -0
  429. data/spec/support/Tools/NCover-v3.3/NCover.Utilities.dll +0 -0
  430. data/spec/support/Tools/NCover-v3.3/NCoverEULA.pdf +0 -0
  431. data/spec/support/Tools/NCover-v3.3/NCoverExplorer.Console.exe +0 -0
  432. data/spec/support/Tools/NCover-v3.3/ReportingExample.config +213 -0
  433. data/spec/support/Tools/NCover-v3.3/System.Data.SQLite.dll +0 -0
  434. data/spec/support/Tools/NDepend-v2.12/EULA_NDepend.txt +94 -0
  435. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Data.v8.2.dll +0 -0
  436. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.OfficeSkins.v8.2.dll +0 -0
  437. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.Utils.v8.2.dll +0 -0
  438. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraBars.v8.2.dll +0 -0
  439. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraEditors.v8.2.dll +0 -0
  440. data/spec/support/Tools/NDepend-v2.12/Lib/DevExpress.XtraNavBar.v8.2.dll +0 -0
  441. data/spec/support/Tools/NDepend-v2.12/Lib/EnvDTE.dll +0 -0
  442. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.Drawing.dll +0 -0
  443. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll +0 -0
  444. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.GraphViewerGdi.dll.config +3 -0
  445. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.Msagl.dll +0 -0
  446. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.OLE.Interop.dll +0 -0
  447. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.Interop.dll +0 -0
  448. data/spec/support/Tools/NDepend-v2.12/Lib/Microsoft.VisualStudio.Shell.dll +0 -0
  449. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.Pdb.dll +0 -0
  450. data/spec/support/Tools/NDepend-v2.12/Lib/Mono.Cecil.dll +0 -0
  451. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.AddIn.dll +0 -0
  452. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Analysis.dll +0 -0
  453. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.CQL.dll +0 -0
  454. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Framework.dll +0 -0
  455. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Platform.DotNet.dll +0 -0
  456. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.Skins.dll +0 -0
  457. data/spec/support/Tools/NDepend-v2.12/Lib/NDepend.UI.dll +0 -0
  458. data/spec/support/Tools/NDepend-v2.12/Lib/msvcp71.dll +0 -0
  459. data/spec/support/Tools/NDepend-v2.12/Lib/msvcr71.dll +0 -0
  460. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe +0 -0
  461. data/spec/support/Tools/NDepend-v2.12/NDepend.Console.exe.config +8 -0
  462. data/spec/support/Tools/NDepend-v2.12/QuickStartTutorial_NDepend.txt +152 -0
  463. data/spec/support/Tools/NDepend-v2.12/VisualNDepend.exe +0 -0
  464. data/spec/support/Tools/NUnit-v2.5/NUnitFitTests.html +277 -0
  465. data/spec/support/Tools/NUnit-v2.5/NUnitTests.config +84 -0
  466. data/spec/support/Tools/NUnit-v2.5/NUnitTests.nunit +14 -0
  467. data/spec/support/Tools/NUnit-v2.5/TestResult.xml +32 -0
  468. data/spec/support/Tools/NUnit-v2.5/agent.conf +4 -0
  469. data/spec/support/Tools/NUnit-v2.5/agent.log.conf +18 -0
  470. data/spec/support/Tools/NUnit-v2.5/clr.bat +96 -0
  471. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.dll +0 -0
  472. data/spec/support/Tools/NUnit-v2.5/framework/nunit.framework.xml +10088 -0
  473. data/spec/support/Tools/NUnit-v2.5/framework/nunit.mocks.dll +0 -0
  474. data/spec/support/Tools/NUnit-v2.5/framework/pnunit.framework.dll +0 -0
  475. data/spec/support/Tools/NUnit-v2.5/launcher.log.conf +18 -0
  476. data/spec/support/Tools/NUnit-v2.5/lib/Failure.png +0 -0
  477. data/spec/support/Tools/NUnit-v2.5/lib/Ignored.png +0 -0
  478. data/spec/support/Tools/NUnit-v2.5/lib/Inconclusive.png +0 -0
  479. data/spec/support/Tools/NUnit-v2.5/lib/Skipped.png +0 -0
  480. data/spec/support/Tools/NUnit-v2.5/lib/Success.png +0 -0
  481. data/spec/support/Tools/NUnit-v2.5/lib/fit.dll +0 -0
  482. data/spec/support/Tools/NUnit-v2.5/lib/log4net.dll +0 -0
  483. data/spec/support/Tools/NUnit-v2.5/lib/nunit-console-runner.dll +0 -0
  484. data/spec/support/Tools/NUnit-v2.5/lib/nunit-gui-runner.dll +0 -0
  485. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.dll +0 -0
  486. data/spec/support/Tools/NUnit-v2.5/lib/nunit.core.interfaces.dll +0 -0
  487. data/spec/support/Tools/NUnit-v2.5/lib/nunit.fixtures.dll +0 -0
  488. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uiexception.dll +0 -0
  489. data/spec/support/Tools/NUnit-v2.5/lib/nunit.uikit.dll +0 -0
  490. data/spec/support/Tools/NUnit-v2.5/lib/nunit.util.dll +0 -0
  491. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe +0 -0
  492. data/spec/support/Tools/NUnit-v2.5/nunit-agent.exe.config +87 -0
  493. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe +0 -0
  494. data/spec/support/Tools/NUnit-v2.5/nunit-console-x86.exe.config +87 -0
  495. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe +0 -0
  496. data/spec/support/Tools/NUnit-v2.5/nunit-console.exe.config +87 -0
  497. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe +0 -0
  498. data/spec/support/Tools/NUnit-v2.5/nunit-x86.exe.config +95 -0
  499. data/spec/support/Tools/NUnit-v2.5/nunit.exe +0 -0
  500. data/spec/support/Tools/NUnit-v2.5/nunit.exe.config +95 -0
  501. data/spec/support/Tools/NUnit-v2.5/nunit.framework.dll +0 -0
  502. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe +0 -0
  503. data/spec/support/Tools/NUnit-v2.5/pnunit-agent.exe.config +87 -0
  504. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe +0 -0
  505. data/spec/support/Tools/NUnit-v2.5/pnunit-launcher.exe.config +87 -0
  506. data/spec/support/Tools/NUnit-v2.5/pnunit.framework.dll +0 -0
  507. data/spec/support/Tools/NUnit-v2.5/pnunit.tests.dll +0 -0
  508. data/spec/support/Tools/NUnit-v2.5/runFile.exe +0 -0
  509. data/spec/support/Tools/NUnit-v2.5/runFile.exe.config +43 -0
  510. data/spec/support/Tools/NUnit-v2.5/runpnunit.bat +2 -0
  511. data/spec/support/Tools/NUnit-v2.5/test.conf +24 -0
  512. data/spec/support/Tools/PartCover-v2.3/Interop.PartCover.dll +0 -0
  513. data/spec/support/Tools/PartCover-v2.3/PartCover Browser Manual.rtf +28853 -0
  514. data/spec/support/Tools/PartCover-v2.3/PartCover Console Manual.rtf +203 -0
  515. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.Api.dll +0 -0
  516. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe +0 -0
  517. data/spec/support/Tools/PartCover-v2.3/PartCover.Browser.exe.config +51 -0
  518. data/spec/support/Tools/PartCover-v2.3/PartCover.CorDriver.dll +0 -0
  519. data/spec/support/Tools/PartCover-v2.3/PartCover.Framework.dll +0 -0
  520. data/spec/support/Tools/PartCover-v2.3/PartCover.exe +0 -0
  521. data/spec/support/Tools/PartCover-v2.3/PartCover.exe.config +4 -0
  522. data/spec/support/Tools/PartCover-v2.3/PartViewer.dll +0 -0
  523. data/spec/support/Tools/PartCover-v2.3/app.ico +0 -0
  524. data/spec/support/Tools/PartCover-v2.3/log4net.dll +0 -0
  525. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Assembly.xslt +54 -0
  526. data/spec/support/Tools/PartCover-v2.3/xslt/Report By Class.xslt +52 -0
  527. data/spec/support/Tools/SpecFlow/Antlr3.Runtime.dll +0 -0
  528. data/spec/support/Tools/SpecFlow/Interop.SHDocVw.dll +0 -0
  529. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Generator.dll +0 -0
  530. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Parser.dll +0 -0
  531. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.Reporting.dll +0 -0
  532. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.VsIntegration.dll +0 -0
  533. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.dll +0 -0
  534. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.targets +58 -0
  535. data/spec/support/Tools/SpecFlow/TechTalk.SpecFlow.tasks +17 -0
  536. data/spec/support/Tools/SpecFlow/changelog.txt +50 -0
  537. data/spec/support/Tools/SpecFlow/specflow.exe +0 -0
  538. data/spec/support/Tools/XUnit-v1.9/EULA.txt +29 -0
  539. data/spec/support/Tools/XUnit-v1.9/HTML.xslt +126 -0
  540. data/spec/support/Tools/XUnit-v1.9/NUnitXml.xslt +121 -0
  541. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe +0 -0
  542. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.exe.config +21 -0
  543. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe +0 -0
  544. data/spec/support/Tools/XUnit-v1.9/xunit.console.clr4.x86.exe.config +21 -0
  545. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe +0 -0
  546. data/spec/support/Tools/XUnit-v1.9/xunit.console.exe.config +21 -0
  547. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe +0 -0
  548. data/spec/support/Tools/XUnit-v1.9/xunit.console.x86.exe.config +21 -0
  549. data/spec/support/Tools/XUnit-v1.9/xunit.dll +0 -0
  550. data/spec/support/Tools/XUnit-v1.9/xunit.dll.tdnet +5 -0
  551. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.dll +0 -0
  552. data/spec/support/Tools/XUnit-v1.9/xunit.extensions.xml +805 -0
  553. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.exe +0 -0
  554. data/spec/support/Tools/XUnit-v1.9/xunit.gui.clr4.x86.exe +0 -0
  555. data/spec/support/Tools/XUnit-v1.9/xunit.gui.exe +0 -0
  556. data/spec/support/Tools/XUnit-v1.9/xunit.gui.x86.exe +0 -0
  557. data/spec/support/Tools/XUnit-v1.9/xunit.installer.exe +0 -0
  558. data/spec/support/Tools/XUnit-v1.9/xunit.runner.msbuild.dll +0 -0
  559. data/spec/support/Tools/XUnit-v1.9/xunit.runner.tdnet.dll +0 -0
  560. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.dll +0 -0
  561. data/spec/support/Tools/XUnit-v1.9/xunit.runner.utility.xml +1212 -0
  562. data/spec/support/Tools/XUnit-v1.9/xunit.xml +2604 -0
  563. data/spec/support/assemblyinfotester.rb +52 -0
  564. data/spec/support/csc/File1.cs +9 -0
  565. data/spec/support/csc/File2.cs +9 -0
  566. data/spec/support/csc/output/ignorethis.txt +1 -0
  567. data/spec/support/ironruby_validator.rb +26 -0
  568. data/spec/support/msbuildtestdata.rb +32 -0
  569. data/spec/support/nanttestdata.rb +33 -0
  570. data/spec/support/ncoverconsoletestdata.rb +20 -0
  571. data/spec/support/ncoverreporttestdata.rb +26 -0
  572. data/spec/support/nokogiri_validator.rb +15 -0
  573. data/spec/support/nuspec/nuspec.xsd +84 -0
  574. data/spec/support/outputtestdata.rb +13 -0
  575. data/spec/support/test.yml +4 -0
  576. data/spec/support/yamlconfig/msbuild.yml +5 -0
  577. data/spec/support/yamlconfig/yaml_autoconfig_test.yml +1 -0
  578. data/spec/support/zip/files/subfolder/sub file.txt +1 -0
  579. data/spec/support/zip/files/testfile.txt +1 -0
  580. data/spec/support/ziptestdata.rb +13 -0
  581. data/spec/unzip_spec.rb +57 -0
  582. data/spec/xbuild_spec.rb +15 -0
  583. data/spec/xunit_spec.rb +200 -0
  584. data/spec/yamlconfig_spec.rb +49 -0
  585. data/spec/zip_spec.rb +215 -0
  586. metadata +1231 -191
  587. data/lib/albacore/albacore_module.rb +0 -53
  588. data/lib/albacore/application.rb +0 -32
  589. data/lib/albacore/asmver.rb +0 -67
  590. data/lib/albacore/asmver/cpp.rb +0 -20
  591. data/lib/albacore/asmver/cs.rb +0 -17
  592. data/lib/albacore/asmver/engine.rb +0 -43
  593. data/lib/albacore/asmver/fs.rb +0 -25
  594. data/lib/albacore/asmver/vb.rb +0 -17
  595. data/lib/albacore/build.rb +0 -203
  596. data/lib/albacore/cmd_config.rb +0 -55
  597. data/lib/albacore/cross_platform_cmd.rb +0 -177
  598. data/lib/albacore/dsl.rb +0 -118
  599. data/lib/albacore/errors/unfilled_property_error.rb +0 -14
  600. data/lib/albacore/ext/README.md +0 -12
  601. data/lib/albacore/ext/teamcity.rb +0 -64
  602. data/lib/albacore/facts.rb +0 -25
  603. data/lib/albacore/logging.rb +0 -29
  604. data/lib/albacore/migrate.rb +0 -175
  605. data/lib/albacore/nugets_authentication.rb +0 -9
  606. data/lib/albacore/nugets_pack.rb +0 -283
  607. data/lib/albacore/nugets_restore.rb +0 -131
  608. data/lib/albacore/paths.rb +0 -30
  609. data/lib/albacore/project.rb +0 -104
  610. data/lib/albacore/restore_hint_paths.rb +0 -112
  611. data/lib/albacore/semver.rb +0 -5
  612. data/lib/albacore/tasks/README.md +0 -16
  613. data/lib/albacore/tasks/albasemver.rb +0 -49
  614. data/lib/albacore/tasks/projectlint.rb +0 -81
  615. data/lib/albacore/tasks/versionizer.rb +0 -65
  616. data/lib/albacore/test_runner.rb +0 -39
  617. data/spec/Rakefile +0 -5
  618. data/spec/albacore_spec.rb +0 -35
  619. data/spec/cross_platform_cmd_spec.rb +0 -77
  620. data/spec/ext_teamcity_spec.rb +0 -71
  621. data/spec/facts_spec.rb +0 -7
  622. data/spec/migrate_spec.rb +0 -80
  623. data/spec/nugets_pack_spec.rb +0 -66
  624. data/spec/nugets_restore_spec.rb +0 -55
  625. data/spec/project_spec.rb +0 -26
  626. data/spec/projectlint/added_but_not_on_filesystem/aproject.csproj +0 -29
  627. data/spec/projectlint/correct/File.cs +0 -1
  628. data/spec/projectlint/correct/Image.txt +0 -1
  629. data/spec/projectlint/correct/MyHeavy.heavy +0 -1
  630. data/spec/projectlint/correct/Schema.xsd +0 -1
  631. data/spec/projectlint/correct/SubFolder/AnotherFile.cs +0 -1
  632. data/spec/projectlint/correct/aproject.csproj +0 -29
  633. data/spec/projectlint/on_filesystem_but_not_added/File.cs +0 -1
  634. data/spec/projectlint/on_filesystem_but_not_added/Image.txt +0 -1
  635. data/spec/projectlint/on_filesystem_but_not_added/aproject.csproj +0 -11
  636. data/spec/projectlint_spec.rb +0 -77
  637. data/spec/sh_interceptor.rb +0 -33
  638. data/spec/smoke_spec.rb +0 -9
  639. data/spec/testdata/Library1.fs +0 -4
  640. data/spec/testdata/Project.fsproj +0 -58
  641. data/spec/testdata/Project/Project.sln +0 -20
  642. data/spec/testdata/Project/Project.v11.suo +0 -0
  643. data/spec/testdata/example.nuspec +0 -14
  644. data/spec/testdata/packages.config +0 -6
@@ -0,0 +1,19 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module NuGetPublish
6
+ include Albacore::Configuration
7
+
8
+ def self.nugetpublishconfig
9
+ @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPublish)
10
+ end
11
+
12
+ def nugetpublish
13
+ @config ||= NuGetPublish.nugetpublishconfig
14
+ yield(@config) if block_given?
15
+ @config
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module NuGetPush
6
+ include Albacore::Configuration
7
+
8
+ def self.nugetpushconfig
9
+ @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetPush)
10
+ end
11
+
12
+ def nugetpush
13
+ @config ||= NuGetPush.nugetpushconfig
14
+ yield(@config) if block_given?
15
+ @config
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module NuGetUpdate
6
+ include Albacore::Configuration
7
+
8
+ def self.nugetupdateconfig
9
+ @config ||= OpenStruct.new.extend(OpenStructToHash).extend(NuGetUpdate)
10
+ end
11
+
12
+ def nugetupdate
13
+ config ||= NuGetUpdate.nugetupdateconfig
14
+ yield(config) if block_given?
15
+ config
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,14 @@
1
+ require 'albacore/support/openstruct'
2
+
3
+ module Configuration
4
+ module NUnit
5
+ include Albacore::Configuration
6
+
7
+ def nunit
8
+ @nunitconfig ||= OpenStruct.new.extend(OpenStructToHash).extend(NUnit)
9
+ yield(@nunitconfig) if block_given?
10
+ @nunitconfig
11
+ end
12
+ end
13
+ end
14
+
@@ -0,0 +1,24 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module SpecFlowReport
6
+ include Albacore::Configuration
7
+
8
+ def self.specflowreportconfig
9
+ @specflowreportconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ end
11
+
12
+ def specflowreport
13
+ config = SpecFlowReport.specflowreportconfig
14
+ yield(config) if block_given?
15
+ config
16
+ end
17
+
18
+ def self.included(obj)
19
+ specflowreportconfig.command = 'specflow.exe'
20
+ specflowreportconfig.report = 'nunitexecutionreport'
21
+ end
22
+ end
23
+ end
24
+
@@ -0,0 +1,15 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module SQLCmd
6
+ include Albacore::Configuration
7
+
8
+ def sqlcmd
9
+ @sqlcmdconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@sqlcmdconfig) if block_given?
11
+ @sqlcmdconfig
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,15 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module Unzip
6
+ include Albacore::Configuration
7
+
8
+ def unzip
9
+ @unzipconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@unzipconfig) if block_given?
11
+ @unzipconfig
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,14 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module Vss
6
+ include Albacore::Configuration
7
+
8
+ def vss
9
+ @vssconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@vssconfig) if block_given?
11
+ @vssconfig
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,15 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module XBuild
6
+ include Albacore::Configuration
7
+
8
+ def xbuild
9
+ @xbuildconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@xbuildconfig) if block_given?
11
+ @xbuildconfig
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,15 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module XUnit
6
+ include Albacore::Configuration
7
+
8
+ def xunit
9
+ @xunitconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@xunitconfig) if block_given?
11
+ @xunitconfig
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,15 @@
1
+ require 'ostruct'
2
+ require 'albacore/support/openstruct'
3
+
4
+ module Configuration
5
+ module Zip
6
+ include Albacore::Configuration
7
+
8
+ def zip
9
+ @zipconfig ||= OpenStruct.new.extend(OpenStructToHash)
10
+ yield(@zipconfig) if block_given?
11
+ @zipconfig
12
+ end
13
+ end
14
+ end
15
+
@@ -0,0 +1,67 @@
1
+ require 'albacore/albacoretask'
2
+ require 'albacore/config/cscconfig'
3
+ require 'albacore/support/supportlinux'
4
+
5
+ class CSC
6
+ include Albacore::Task
7
+ include Albacore::RunCommand
8
+ include Configuration::CSC
9
+ include SupportsLinuxEnvironment
10
+
11
+ attr_accessor :output, :target, :optimize, :debug, :doc, :main,
12
+ :keyfile, :keycontainer, :delaysign # strong name flags
13
+
14
+ attr_array :compile, :references, :resources, :define
15
+
16
+ def initialize
17
+ @optimize = false
18
+ super()
19
+ update_attributes csc.to_hash
20
+ end
21
+
22
+ def execute
23
+ params = []
24
+ params << @references.map{|r| format_reference(r)} unless @references.nil?
25
+ params << @resources.map{|r| format_resource(r)} unless @resources.nil?
26
+ params << main_entry unless @main.nil?
27
+ params << "\"/out:#{@output}\"" unless @output.nil?
28
+ params << "/target:#{@target}" unless @target.nil?
29
+ params << "/optimize+" if @optimize
30
+ params << "\"/keyfile:#{@keyfile}\"" unless @keyfile.nil?
31
+ params << "\"/keycontainer:#{@keycontainer}\"" unless @keycontainer.nil?
32
+ params << "/delaysign+" if @delaysign
33
+ params << get_debug_param unless @debug.nil?
34
+ params << "/doc:#{@doc}" unless @doc.nil?
35
+ params << get_define_params unless @define.nil?
36
+ params << @compile.map{|f| format_path(f)} unless @compile.nil?
37
+
38
+ result = run_command "CSC", params
39
+
40
+ failure_message = 'CSC Failed. See Build Log For Detail'
41
+ fail_with_message failure_message if !result
42
+ end
43
+
44
+ def get_define_params
45
+ symbols = @define.join(";")
46
+ "/define:#{symbols}"
47
+ end
48
+
49
+ def get_debug_param
50
+ case @debug
51
+ when true
52
+ "/debug"
53
+ when :full
54
+ "/debug:full"
55
+ when :pdbonly
56
+ "/debug:pdbonly"
57
+ end
58
+ end
59
+
60
+ def main_entry
61
+ "/main:#{@main}"
62
+ end
63
+
64
+ def format_resource(resource)
65
+ "/res:#{resource}"
66
+ end
67
+ end
@@ -0,0 +1,41 @@
1
+ require 'albacore/albacoretask'
2
+ require 'albacore/config/docuconfig'
3
+
4
+ class Docu
5
+ include Albacore::Task
6
+ include Albacore::RunCommand
7
+ include Configuration::Docu
8
+
9
+ attr_accessor :output_location
10
+ attr_array :assemblies, :xml_files
11
+
12
+ def initialize(command=nil)
13
+ @assemblies = []
14
+ @xml_files = []
15
+ @output_location = ""
16
+ super()
17
+ update_attributes docu.to_hash
18
+ @command = command unless command.nil?
19
+ end
20
+
21
+ def execute
22
+ if @assemblies.empty?
23
+ fail_with_message 'Docu Failed. No assemblies specified'
24
+ return
25
+ end
26
+
27
+ command_params = get_command_parameters
28
+ success = run_command 'Docu', command_params.join(' ')
29
+
30
+ fail_with_message 'Docu Failed. See Build Log For Detail' unless success
31
+ end
32
+
33
+ private
34
+ def get_command_parameters
35
+ command_params = []
36
+ command_params << @assemblies.join(' ') unless @assemblies.nil?
37
+ command_params << @xml_files.join(' ') unless @xml_files.nil?
38
+ command_params << " --output=\"#{@output_location}\" " unless @output_location.empty?
39
+ command_params
40
+ end
41
+ end
@@ -0,0 +1,18 @@
1
+ require 'albacore/albacoretask'
2
+
3
+ class Exec
4
+ include Albacore::Task
5
+ include Albacore::RunCommand
6
+
7
+ def initialize
8
+ super()
9
+ update_attributes Albacore.configuration.exec.to_hash
10
+ end
11
+
12
+ def execute
13
+ result = run_command "Exec"
14
+
15
+ failure_message = 'Exec Failed. See Build Log For Detail'
16
+ fail_with_message failure_message if !result
17
+ end
18
+ end
@@ -0,0 +1,52 @@
1
+ require 'albacore/albacoretask'
2
+
3
+ class FluentMigratorRunner
4
+ TaskName = :fluentmigrator
5
+ include Albacore::Task
6
+ include Albacore::RunCommand
7
+
8
+ attr_accessor :target, :provider, :connection, :namespace, :output, :output_filename, :preview, :steps, :tag, :task, :version, :verbose, :script_directory, :profile, :timeout, :show_help
9
+
10
+ def initialize(command=nil)
11
+ super()
12
+ update_attributes Albacore.configuration.fluentmigrator.to_hash
13
+ @command = command
14
+ end
15
+
16
+ def get_command_line
17
+ commandline = "#{@command}"
18
+ commandline << get_command_parameters
19
+ @logger.debug "Build FuentMigrator Test Runner Command Line: " + commandline
20
+ commandline
21
+ end
22
+
23
+ def get_command_parameters
24
+ if @show_help
25
+ params = " /?"
26
+ else
27
+ params = " /target=\"#{@target}\""
28
+ params << " /provider=#{@provider}"
29
+ params << " /connection=\"#{@connection}\""
30
+ params << " /ns=#{@namespace}" if @namespace
31
+ params << " /out" if @output == true
32
+ params << " /outfile=\"#{@output_filename}\"" if @output_filename
33
+ params << " /preview" if @preview == true
34
+ params << " /steps=#{@steps}" if @steps
35
+ params << " /task=#{@task}" if @task
36
+ params << " /version=#{@version}" if @version
37
+ params << " /verbose=#{@verbose}" if @verbose == true
38
+ params << " /wd=\"#{@script_directory}\"" if @script_directory
39
+ params << " /profile=#{@profile}" if @profile
40
+ params << " /timeout=#{@timeout}" if @timeout
41
+ params << " /tag=#{@tag}" if @tag
42
+ end
43
+ params
44
+ end
45
+
46
+ def execute()
47
+ result = run_command "FluentMigrator", get_command_parameters
48
+
49
+ failure_message = "FluentMigrator failed. See build log for detail."
50
+ fail_with_message failure_message if !result
51
+ end
52
+ end
@@ -0,0 +1,65 @@
1
+ require 'albacore/albacoretask'
2
+ require 'albacore/config/ilmergeconfig'
3
+
4
+ class IlMerge
5
+ TaskName = [:ilmerge, :ILMerge]
6
+ include Albacore::Task
7
+ include Albacore::RunCommand
8
+ include Configuration::ILMerge
9
+
10
+ attr_accessor :output, :resolver, :target_platform
11
+
12
+ attr_array :parameters
13
+
14
+ def initialize
15
+ super()
16
+ update_attributes ilmerge.to_hash
17
+ end
18
+
19
+ def assemblies *assys
20
+ raise ArgumentError, "expected at least 2 assemblies to merge" if assys.length < 2
21
+ @assemblies = assys
22
+ end
23
+
24
+ def build_parameters
25
+ params = Array.new @parameters
26
+ params << %Q{/out:"#{output}"}
27
+ params << %Q{/targetPlatform:#{target_platform}} if @target_platform
28
+ raise ArgumentError, "you are required to call assemblies" if @assemblies == nil
29
+ params += @assemblies
30
+ params
31
+ end
32
+
33
+ def execute
34
+ @command ||= @resolver.resolve
35
+ result = run_command "ILMerge", build_parameters
36
+ end
37
+
38
+ end
39
+
40
+ module Albacore
41
+ class IlMergeResolver
42
+ include ::Configuration::ILMerge
43
+
44
+ attr_accessor :ilmerge_path
45
+
46
+ def initialize ilmerge_path=nil
47
+ @ilmerge_path = ilmerge_path || ilmerge.ilmerge_path
48
+ end
49
+
50
+ def path path
51
+ @ilmerge_path = path
52
+ end
53
+
54
+ def resolve
55
+ @ilmerge_path.nil? ? find_default : @ilmerge_path
56
+ end
57
+
58
+ def find_default
59
+ m = ['', ' (x86)'].map{|x| "C:\\Program Files#{x}\\Microsoft\\ILMerge\\ilmerge.exe" }.
60
+ keep_if{|x| File.exists? x}.
61
+ first
62
+ end
63
+
64
+ end
65
+ end