Sha256: 3b4816c6cf48f709b7b120f956bc94ed8b69c34a1d918a517a8a4bbd90d5e325

Contents?: true

Size: 564 Bytes

Versions: 4

Compression:

Stored size: 564 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

#
# Rspec
#

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = 'spec/**/*_spec.rb'
end

task :default => [:start, :spec, :stop]


#
# Yard
#

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  task :yardoc do
    abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
  end
end


#
# Misc.
#

desc "Start an irb console with Twhois pre-loaded."
task :console do
  exec "irb -r spec/spec_helper"
end
task :c => :console

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
twhois-0.0.4 Rakefile
twhois-0.0.3 Rakefile
twhois-0.0.2 Rakefile
twhois-0.0.1 Rakefile