guard-jammit/Rakefile
Pelle Braendgaard 3a11aea76f Works using regular configurations. All is hardcoded using standard jammit/rails settings.
Please submit patches for changing output directories etc.
2010-11-08 14:53:07 -05:00

33 lines
1.0 KiB
Ruby

require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "guard-jammit"
gem.summary = %Q{Guard plugin for running jammit}
gem.description = %Q{This is a guard plugin to watch javascript and stylesheets to afterwards run jammit.}
gem.email = "pelleb@gmail.com"
gem.homepage = "http://github.com/pelle/guard-jammit"
gem.authors = ["Pelle Braendgaard"]
gem.add_dependency "guard"
gem.add_dependency "jammit"
# 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
task :default => :jeweler
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "guard-jammit #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end