Sha256: 1bdb93d849bf684556e715de29ee0da6a07caba8406015fc42fd464b729b3597

Contents?: true

Size: 576 Bytes

Versions: 4

Compression:

Stored size: 576 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require 'rake/extensiontask'
require "yard"

desc "GamesDice unit tests"
RSpec::Core::RakeTask.new(:test) do |t|
  t.pattern = "spec/*_spec.rb"
  t.verbose = false
end

YARD::Rake::YardocTask.new do |t|
  t.files   = ['lib/**/*.rb']
end

gemspec = Gem::Specification.load('games_dice.gemspec')
Rake::ExtensionTask.new do |ext|
  ext.name = 'games_dice'
  ext.source_pattern = "*.{c,h}"
  ext.ext_dir = 'ext/games_dice'
  ext.lib_dir = 'lib/games_dice'
  ext.gem_spec = gemspec
end

task :default => [:compile, :test]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
games_dice-0.3.3 Rakefile
games_dice-0.3.2 Rakefile
games_dice-0.3.1 Rakefile
games_dice-0.3.0 Rakefile