Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

41 lines (33 sloc) 1.17 kB
require 'rubygems'
require "rake/gempackagetask"
require "rake/clean"
require "spec/rake/spectask"
require "cucumber/rake/task"
require './lib/testjour.rb'
Spec::Rake::SpecTask.new do |t|
t.spec_opts == ["--color"]
end
Cucumber::Rake::Task.new do |t|
end
desc "Run the specs and the features"
task :default => ["spec", "features"]
spec = Gem::Specification.new do |s|
s.name = "testjour"
s.version = Testjour::VERSION
s.author = "Bryan Helmkamp"
s.email = "bryan" + "@" + "brynary.com"
s.homepage = "http://github.com/brynary/testjour"
s.summary = "Distributed test running with autodiscovery via Bonjour (for Cucumber first)"
s.description = s.summary
s.executables = "testjour"
s.files = %w[History.txt MIT-LICENSE.txt README.rdoc Rakefile] + Dir["bin/*"] + Dir["lib/**/*"] + Dir["vendor/**/*"]
end
Rake::GemPackageTask.new(spec) do |package|
package.gem_spec = spec
end
CLEAN.include ["pkg", "*.gem", "doc", "ri", "coverage"]
desc 'Install the package as a gem.'
task :install => [:clean, :package] do
gem = Dir['pkg/*.gem'].first
sh "sudo gem install --no-rdoc --no-ri --local #{gem}"
end
Jump to Line
Something went wrong with that request. Please try again.