forked from jbudzak/provp
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 3269fda
Showing
299 changed files
with
46,909 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
source/*/obj | ||
source/*/bin | ||
*.chm | ||
_[Rr]e[Ss]harper.* | ||
*.csproj.user | ||
*.[Rr]e[Ss]harper.user | ||
*.[Rr]e[Ss]harper | ||
*.suo | ||
*.cache | ||
*.csproj[1-9]* | ||
*~ | ||
*.sql | ||
*.swp | ||
*.swo | ||
/source/docs/Help/*.* | ||
artifacts | ||
UpgradeLog.XML | ||
_UpgradeReport_Files | ||
git.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Develop With Passion - Denver 2011 | ||
|
||
Prep work for the course!! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
cls | ||
"build\tools\rake\bin\ruby.exe" "build\tools\rake\bin\rake" %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProductVersion>9.0.21022</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{EAA828F4-419B-4078-8EB6-533FBD86E800}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>build</RootNamespace> | ||
<AssemblyName>build</AssemblyName> | ||
<FileUpgradeFlags> | ||
</FileUpgradeFlags> | ||
<OldToolsVersion>3.5</OldToolsVersion> | ||
<UpgradeBackupLocation> | ||
</UpgradeBackupLocation> | ||
<IsWebBootstrapper>true</IsWebBootstrapper> | ||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion> | ||
<TargetFrameworkProfile /> | ||
<PublishUrl>http://localhost/build/</PublishUrl> | ||
<Install>true</Install> | ||
<InstallFrom>Web</InstallFrom> | ||
<UpdateEnabled>true</UpdateEnabled> | ||
<UpdateMode>Foreground</UpdateMode> | ||
<UpdateInterval>7</UpdateInterval> | ||
<UpdateIntervalUnits>Days</UpdateIntervalUnits> | ||
<UpdatePeriodically>false</UpdatePeriodically> | ||
<UpdateRequired>false</UpdateRequired> | ||
<MapFileExtensions>true</MapFileExtensions> | ||
<ApplicationRevision>0</ApplicationRevision> | ||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> | ||
<UseApplicationTrust>false</UseApplicationTrust> | ||
<BootstrapperEnabled>true</BootstrapperEnabled> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Include="build.bat" /> | ||
<None Include="build\tasks\configuration.rb" /> | ||
<None Include="build\tasks\machine_specs.rb" /> | ||
<None Include="build\tasks\templates.rb" /> | ||
<None Include="build\tools\Rake\bin\rake" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\date.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\date\format.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\delegate.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\erb.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\fileutils.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\bigdecimal.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\curses.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\dbm.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest\bubblebabble.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest\md5.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest\rmd160.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest\sha1.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest\sha2.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\dl.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\enumerator.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\etc.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\fcntl.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\gdbm.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\iconv.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\io\wait.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\nkf.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\openssl.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\racc\cparse.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\rbconfig.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\readline.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\sdbm.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\socket.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\stringio.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\strscan.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\syck.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\tcltklib.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\thread.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\tkutil.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\Win32API.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\win32ole.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\zlib.so" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\monitor.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\optparse.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\ostruct.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\rational.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\singleton.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\tempfile.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\tmpdir.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\win32\registry.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\baseemitter.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\basenode.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\constants.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\dbm.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\encoding.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\error.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\loader.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\rubytypes.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\store.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\stream.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\stringio.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\syck.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\tag.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\types.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\yamlnode.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\1.8\yaml\ypath.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\configatron.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\core_ext\class.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\core_ext\kernel.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\core_ext\object.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\core_ext\string.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\errors.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\configatron\store.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\alt_system.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\classic_namespace.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\clean.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\compositepublisher.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\ftptools.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\publisher.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\rubyforgepublisher.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\sshpublisher.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\contrib\sys.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\gempackagetask.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\loaders\makefile.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\packagetask.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\rake_test_loader.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\rdoctask.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\ruby182_test_unit_fix.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\runtest.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\tasklib.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\testtask.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rake\win32.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\rubygems.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\ubygems.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\yamler.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\yamler\template.rb" /> | ||
<None Include="build\tools\Rake\lib\ruby\site_ruby\1.8\yamler\yamler.rb" /> | ||
<None Include="build\utils\configatron.rb" /> | ||
<None Include="build\utils\file.rb" /> | ||
<None Include="build\utils\msbuild_runner.rb" /> | ||
<None Include="build\utils\sevenzip.rb" /> | ||
<None Include="build\utils\string.rb" /> | ||
<None Include="build\utils\template_file.rb" /> | ||
<None Include="fetch_latest" /> | ||
<None Include="push" /> | ||
<None Include="push_latest_work.ps1" /> | ||
<None Include="rakefile.rb" /> | ||
<None Include="start_new_exercise.ps1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName> | ||
<Install>false</Install> | ||
</BootstrapperPackage> | ||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName> | ||
<Install>true</Install> | ||
</BootstrapperPackage> | ||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName> | ||
<Install>false</Install> | ||
</BootstrapperPackage> | ||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 3.5</ProductName> | ||
<Install>false</Install> | ||
</BootstrapperPackage> | ||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1"> | ||
<Visible>False</Visible> | ||
<ProductName>.NET Framework 3.5 SP1</ProductName> | ||
<Install>false</Install> | ||
</BootstrapperPackage> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include=".gitignore" /> | ||
<Content Include="build\tools\Rake\bin\msvcrt-ruby18.dll" /> | ||
<Content Include="build\tools\Rake\bin\ruby.exe" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\config.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\defines.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\digest.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\dl.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\dlconfig.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\dln.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\env.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\intern.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\missing.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\node.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\re.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\regex.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\ruby.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\rubyio.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\rubysig.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\st.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\util.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\version.h" /> | ||
<Content Include="build\tools\Rake\lib\ruby\1.8\i386-mswin32\win32\win32.h" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
task :configure_db do | ||
configs = | ||
{ | ||
:db => | ||
{ | ||
:initial_catalog => delayed{configatron.project}, | ||
:server_name => ENV['HOSTNAME'], | ||
:osql_connection_string => delayed{"-E \-S #{configatron.db.server_name}"}, | ||
:web_account_sql => "#{configatron.db.web_user_account}, N'#{configatron.db.web_user_account}'", | ||
:app_connection => "data source=Server;Integrated Security=SSPI;Initial Catalog=blah" | ||
} | ||
} | ||
|
||
configatron.configure_from_hash configs | ||
end | ||
|
||
Rake::Task[:configure_db].invoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
db: | ||
database_path: C:/tempfiles/databases | ||
osql_exe: osql | ||
database_provider: System.Data.SqlClient | ||
web_user_account: NT Authority\\Network Service | ||
osql_args_prior_to_file_name: -b -i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
git: | ||
remotes: [] | ||
repo: repo_name.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
task :load_yaml_configuration do | ||
Dir.glob("build/configuration/*.yaml").each do|file| | ||
configatron.configure_from_yaml file | ||
end | ||
end | ||
|
||
Rake::Task[:load_yaml_configuration].invoke |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
task :configure_mspec do | ||
configs = | ||
{ | ||
:specs => | ||
{ | ||
:runner_options => ["-x","example"], | ||
:assemblies => dynamic{Dir.glob("#{configatron.artifacts_dir}/*specs.dll")}, | ||
} | ||
} | ||
configatron.configure_from_hash configs | ||
end | ||
|
||
Rake::Task['configure_mspec'].invoke | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
specs: | ||
dir: artifacts/specs | ||
report_dir: artifacts/specs/report | ||
tools_folder: packages/Machine.Specifications.0.4.9.0/tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
project: nothinbutdotnetprep | ||
target: Debug | ||
source_dir: source | ||
artifacts_dir: artifacts | ||
config_dir: source/config | ||
app_dir: source/nothinbutdotnetstore | ||
log_file_name: nbdn_prep_log.txt | ||
log_level: DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
task :configure do | ||
project = "nothinbutdotnetprep" | ||
target = ENV['target'] || 'Debug' | ||
|
||
configs = | ||
{ | ||
:project => project, | ||
:target => target, | ||
:source_dir => "source", | ||
:artifacts_dir => "artifacts", | ||
:config_dir => delayed{configatron.source_dir.join("config")}, | ||
|
||
:specs => | ||
{ | ||
:runner_options => ["-x","example"], | ||
:tools_folder => delayed{File.join("packages","Machine.Specifications.0.4.9.0","tools")}, | ||
:dir => delayed{configatron.artifacts_dir.join('specs')}, | ||
:report_dir => delayed{configatron.specs.dir.join('report')}, | ||
:assemblies => dynamic{Dir.glob("#{configatron.artifacts_dir}/*specs.dll")}, | ||
}, | ||
|
||
} | ||
configatron.configure_from_hash configs | ||
configatron.protect_all! | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace :git do | ||
desc 'set up the remotes for git' | ||
task :remotes do | ||
configatron.git.remotes.each do|remote| | ||
`git remote rm #{remote}` | ||
`git remote add #{remote} http://github.com/#{remote}/#{configatron.git.repo}` | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
namespace :specs do | ||
desc 'view the spec report' | ||
task :view do | ||
system "start #{configatron.specs.report_dir}/#{configatron.project}.specs.html" | ||
end | ||
|
||
desc 'run the specs for the project' | ||
task :run => [:init,:expand_all_template_files,'build:rebuild'] do | ||
Dir.glob("#{configatron.specs.tools_folder}/*.*").each do|file| | ||
FileUtils.cp(file,configatron.artifacts_dir) | ||
end | ||
|
||
sh "#{configatron.artifacts_dir}/mspec-clr4.exe", "--html", "#{configatron.specs.report_dir}/#{configatron.project}.specs.html", *(configatron.specs.runner_options + configatron.specs.assemblies) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
desc "Configure the remote connection to JP" | ||
|
||
task :setup_remote_to_jp do | ||
`git remote rm jp` | ||
`git remote add jp git://github.com/developwithpassion/dwpdp.git` | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
task :expand_all_template_files do | ||
TemplateFiles.expand | ||
end | ||
|
||
|
Binary file not shown.
Oops, something went wrong.