Sha256: 2dc09fc1344039f78223296c099b33aa71a59358e71a78deeddab0c1ced28f3c

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 KB

Contents

require 'rubygems'
require 'rake'
require File.expand_path("../lib/slim-rails/version", __FILE__)
begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "slim-rails"
    gem.version = Slim::Rails::VERSION
    gem.summary = "Provides generators for Rails 3"
    gem.description = "Provide generators for Rails 3"
    gem.email = "lalmeida08@gmail.com"
    gem.homepage = "http://github.com/leogalmeida/slim-rails"
    gem.authors = ["Leonardo Almeida"]
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/*_test.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/*_test.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "slim-rails #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slim-rails-0.2.1 Rakefile
slim-rails-0.2.0 Rakefile
slim-rails-0.1.2 Rakefile
slim-rails-0.1.1 Rakefile
slim-rails-0.1.0 Rakefile