Sha256: 1b90caef315706927c1318786aa1f275846a3d2eb4ac7180142390b241015b9e

Contents?: true

Size: 667 Bytes

Versions: 8

Compression:

Stored size: 667 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

begin
  require 'yard'
  YARD::Rake::YardocTask.new
rescue LoadError
  puts "Skipping YARD tasks"
end


Bundler::GemHelper.install_tasks

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = 'spec/**/*_spec.rb'
  t.verbose = false
end

desc "Run TestUnit and RSpec tests"
task :tests => [:spec, :test]

task :default => :tests

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
magic_grid-0.12.4 Rakefile
magic_grid-0.11.1 Rakefile
magic_grid-0.11.0 Rakefile
magic_grid-0.10.4 Rakefile
magic_grid-0.10.3 Rakefile
magic_grid-0.10.2 Rakefile
magic_grid-0.10.1 Rakefile
magic_grid-0.10.0 Rakefile