Sha256: 7336e0d0b462f892c746df5858cdd66a428c3a97081c61e5c6c80cf2a9c3a148

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 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'
  exit 1
end

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

desc 'Default: run specs'
task :default => [:spec]

desc 'Run the full spec suite'
task :spec => [:'spec:ruby', :'spec:javascript']

namespace :spec do
  desc 'Run the RSpec code examples'
  RSpec::Core::RakeTask.new(:ruby) do |t|
    t.pattern = "spec/**/*_spec.rb"
    t.verbose = false
  end

  desc 'Run the Jasmine code examples'
  task :javascript do
    system 'cd spec/dummy && rake jasminerice:run'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
corkboard-0.1.3 Rakefile
corkboard-0.1.2 Rakefile
corkboard-0.1.1 Rakefile
corkboard-0.1.0 Rakefile