Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 46 lines (39 sloc) 1.45 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
require 'rake/testtask'
# require 'rake/rdoctask'
require 'hanna/rdoctask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gemspec|
    gemspec.name = %q{asset_hat}
    gemspec.summary = %q{Your assets are covered.}
    gemspec.description = %q{Minify, bundle, and optimize CSS/JS assets.}
    gemspec.homepage = %q{http://github.com/mintdigital/asset_hat}

    gemspec.authors = ['Ron DeVera', 'Mint Digital']
    gemspec.email = %q{ronald.devera@gmail.com}

    gemspec.add_development_dependency 'flexmock', '~> 0.8.6'
    gemspec.add_development_dependency 'hanna', '~> 0.1.12'
    gemspec.add_development_dependency 'jeweler', '~> 1.4.0'
    gemspec.add_development_dependency 'shoulda', '~> 2.10.2'
    gemspec.add_runtime_dependency 'cssmin', '~> 1.0.2'
    gemspec.add_runtime_dependency 'jsmin', '~> 1.0.1'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts 'Jeweler is not available. Install it with: `gem install jeweler`'
end

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

task :default => :test

desc 'Generate documentation'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'doc'
  rdoc.title = 'AssetHat'
  rdoc.main = 'README.rdoc'
  rdoc.options += %w[--line-numbers --inline-source]
  %w[README.rdoc HISTORY LICENSE app/* lib/*].each do |path|
    rdoc.rdoc_files.include(path)
  end
end
Something went wrong with that request. Please try again.