Sha256: ea8f4f72e80ea20e4fee4a336104c6bd21bc26e9d419b70b0c3bc687d328ed31

Contents?: true

Size: 804 Bytes

Versions: 52

Compression:

Stored size: 804 Bytes

Contents

$:.push File.expand_path("../lib", __FILE__)
require "dcm_dict/version"
require 'rake'
require 'rspec/core/rake_task'

desc "Check all spec"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = 'spec/**/*_spec.rb'
  t.ruby_opts = "-w"
  t.rspec_opts = '--color --format documentation'
end

desc "Check all spec with code coverage"
task :coverage do
  ENV['COVERAGE'] = "true"
  Rake::Task["spec"].execute
end

desc(task(:coverage).comment)
task :default => :coverage

desc "Build dcm_dict v#{DcmDict::VERSION} gem"
task :build do
  system "gem build dcm_dict.gemspec"
  FileUtils.mkdir_p "pkg"
  FileUtils.mv "dcm_dict-#{DcmDict::VERSION}.gem", "pkg"
end

desc "Open IRB with DcmDict support"
task :console do
  require 'irb'
  require 'irb/completion'
  require 'dcm_dict'
  ARGV.clear
  IRB.start
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
dcm_dict-0.61.0 Rakefile
dcm_dict-0.60.0 Rakefile
dcm_dict-0.59.0 Rakefile
dcm_dict-0.58.0 Rakefile
dcm_dict-0.57.0 Rakefile
dcm_dict-0.56.0 Rakefile
dcm_dict-0.54.0 Rakefile
dcm_dict-0.53.0 Rakefile
dcm_dict-0.52.0 Rakefile
dcm_dict-0.41.0 Rakefile
dcm_dict-0.40.0 Rakefile
dcm_dict-0.39.0 Rakefile
dcm_dict-0.38.0 Rakefile
dcm_dict-0.37.0 Rakefile
dcm_dict-0.36.0 Rakefile
dcm_dict-0.35.0 Rakefile
dcm_dict-0.34.0 Rakefile
dcm_dict-0.33.0 Rakefile
dcm_dict-0.32.0 Rakefile
dcm_dict-0.31.0 Rakefile