Sha256: e4735e3ab6351ca6d1986051f745f257abbe6f3b20b20303679acd765a450130

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

require "bundler/gem_tasks"
Bundler::GemHelper.install_tasks # Gives us rake build, rake install and rake release

# RSpec Tasks
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.rspec_opts = ['--options', '.rspec']
end

task :default => :spec

# Jasmine Tasks
begin
  require 'jasmine'
  load 'jasmine/tasks/jasmine.rake'
rescue LoadError
  task :jasmine do
    abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cactus-0.2.1 Rakefile
cactus-0.2.0 Rakefile