Sha256: 403a5a9796fa28f5dc426febfa8281a8689e7e79dc14dff86884fd0504af1bb4

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "jammit-core"
    gem.summary = %Q{A non-Rails fork of the Jammit asset-packager}
    gem.description = %Q{A non-Rails fork of the Jammit asset-packager for use with any Ruby framework}
    gem.email = "christocracy@gmail.com"
    gem.homepage = "http://github.com/christocracy/jammit-core"
    gem.authors = ["Christocracy"]
    gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
    gem.files =  FileList["[A-Z]*", "{bin,generators,lib,test,js}/**/*", 'lib/jeweler/templates/.gitignore']
    gem.add_dependency "yui-compressor"
    gem.add_dependency "closure-compiler"
    gem.add_dependency "extlib"
    gem.add_dependency "json"
    
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
  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 = "jammit-core #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jammit-core-0.1.1 Rakefile
jammit-core-0.1.0 Rakefile