document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("9\n");
document.write("10\n");
document.write("11\n");
document.write("12\n");
document.write("13\n");
document.write("14\n");
document.write("15\n");
document.write("16\n");
document.write("17\n");
document.write("18\n");
document.write("19\n");
document.write("20\n");
document.write("21\n");
document.write("22\n");
document.write("23\n");
document.write("24\n");
document.write("25\n");
document.write("26\n");
document.write("27\n");
document.write("28\n");
document.write("29\n");
document.write("30\n");
document.write("31\n");
document.write("32\n");
document.write("33\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'meta meta_require meta_require_ruby\'><span class=\'keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby\'>require<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'fileutils\'<\/span><\/span>\n");
document.write("<span class=\'keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby\'>include<\/span> <span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>FileUtils<\/span>\n");
document.write("\n");
document.write("version <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'v3.5\'<\/span>\n");
document.write("compile_target <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>ENV<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>include?<\/span><\/span>(<span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'target\'<\/span>) <span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_ruby\'>?<\/span> <span class=\'meta meta_environment-variable meta_environment-variable_ruby\'><span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>ENV<\/span>[<span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'target\'<\/span>]<\/span> : <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'Debug\'<\/span>\n");
document.write("project <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;MyProject&quot;<\/span>\n");
document.write("framework_dir <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'support support_class support_class_ruby\'>File<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>join<\/span><\/span>(<span class=\'meta meta_environment-variable meta_environment-variable_ruby\'><span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>ENV<\/span>[<span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'windir\'<\/span>]<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>dup<\/span><\/span>, <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'Microsoft.NET\'<\/span>, <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'Framework\'<\/span>, version)\n");
document.write("msbuild <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'support support_class support_class_ruby\'>File<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>join<\/span><\/span>(framework_dir, <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'msbuild.exe\'<\/span>)\n");
document.write("team_city <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'variable variable_other variable_other_constant variable_other_constant_ruby\'>ENV<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>include?<\/span><\/span>(<span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'teamcity_build\'<\/span>) <span class=\'keyword keyword_operator keyword_operator_comparison keyword_operator_comparison_ruby\'>?<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'/re:TeamCityExtension,Gallio.TeamCityIntegration\'<\/span> : <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'\'<\/span>\n");
document.write("\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:default<\/span> =&gt; <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:build<\/span>\n");
document.write("\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:build<\/span> =&gt; [<span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:compile<\/span>, <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:test<\/span>] \n");
document.write("\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:compile<\/span> <span class=\'keyword keyword_control keyword_control_ruby keyword_control_ruby_start-block\'>do<\/span>\n");
document.write("  sh <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{msbuild}<\/span> <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{project}<\/span>.sln /property:Configuration=<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{compile_target}<\/span>&quot;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:test<\/span> <span class=\'keyword keyword_control keyword_control_ruby keyword_control_ruby_start-block\'>do<\/span>\n");
document.write("  runner <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'tools<span class=\'constant constant_character constant_character_escape constant_character_escape_ruby\'>\\\\<\/span>Gallio<span class=\'constant constant_character constant_character_escape constant_character_escape_ruby\'>\\\\<\/span>Gallio.Echo.exe\'<\/span>\n");
document.write("  assembly <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_ruby\'>=<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;Test<span class=\'constant constant_character constant_character_escape constant_character_escape_ruby\'>\\\\<\/span>bin<span class=\'constant constant_character constant_character_escape constant_character_escape_ruby\'>\\\\<\/span><span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{compile_target}<\/span><span class=\'constant constant_character constant_character_escape constant_character_escape_ruby\'>\\\\<\/span>MyProject.Test.dll&quot;<\/span>\n");
document.write("  sh <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{runner}<\/span> <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{assembly}<\/span> <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{team_city}<\/span>&quot;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("\n");
document.write("desc <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;Rebuild&quot;<\/span>\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:rebuild<\/span> <span class=\'keyword keyword_control keyword_control_ruby keyword_control_ruby_start-block\'>do<\/span>\n");
document.write("  sh <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{msbuild}<\/span> <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{project}<\/span>.sln /t:Rebuild /property:Configuration=<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{compile_target}<\/span>&quot;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("\n");
document.write("desc <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;Clean&quot;<\/span>\n");
document.write("task <span class=\'constant constant_other constant_other_symbol constant_other_symbol_ruby\'>:clean<\/span> <span class=\'keyword keyword_control keyword_control_ruby keyword_control_ruby_start-block\'>do<\/span>\n");
document.write("  sh <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{msbuild}<\/span> <span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{project}<\/span>.sln /t:Clean /property:Configuration=<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{compile_target}<\/span>&quot;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/545608.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/545608\">Pastie #545608<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

