Sha256: d18276bd3e310d1375df92e5b9e7515980f32c401e51d954ec7ddc07b568c3cc

Contents?: true

Size: 825 Bytes

Versions: 4

Compression:

Stored size: 825 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 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'Enlightenment'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

task :default => :spec

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

desc 'run the ruby spec suite'
task :'spec:ruby' do
  system 'rspec spec'
end

desc 'run the javascript spec suite'
task :'spec:javascript' do
  system 'cd spec/dummy && rake jasminerice:run'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
enlightenment-0.0.1.pre.4 Rakefile
enlightenment-0.0.1.pre.3 Rakefile
enlightenment-0.0.1.pre.2 Rakefile
enlightenment-0.0.1.pre.1 Rakefile