Skip to content

Commit

Permalink
RubyTask example
Browse files Browse the repository at this point in the history
  • Loading branch information
BenHall committed Nov 30, 2009
1 parent b6f144b commit 90c4b20
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions rakefile.rb
Expand Up @@ -59,13 +59,13 @@
t.spec_opts << @spec_opts
end

desc "Zip functional specs"
desc "Zip functional specs"
Spec::Rake::SpecTask.new :zip do |t|
t.spec_files = 'spec/zip*_spec.rb'
t.spec_opts << @spec_opts
end

desc "XUnit functional specs"
desc "XUnit functional specs"
Spec::Rake::SpecTask.new :xunit do |t|
t.spec_files = 'spec/xunit*_spec.rb'
t.spec_opts << @spec_opts
Expand All @@ -83,7 +83,8 @@
'albacore:rename',
'albacore:mspec',
'albacore:nunit',
'albacore:xunit']
'albacore:xunit',
'albacore:ruby']

desc "Run a sample build using the MSBuildTask"
Albacore::MSBuildTask.new(:msbuild) do |msb|
Expand Down Expand Up @@ -171,6 +172,11 @@
xunit.path_to_command = "spec/support/Tools/XUnit-v1.5/xunit.console.exe"
xunit.assemblies << "spec/support/CodeCoverage/xunit/assemblies/TestSolution.XUnitTests.dll"
end

desc "Ruby Task Example"
Albacore::RubyTask.new() do
puts "Any ruby code here..."
end
end

namespace :jeweler do
Expand Down

0 comments on commit 90c4b20

Please sign in to comment.