forked from juliocesar/rack-pagespeed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
25 lines (23 loc) · 1001 Bytes
/
Rakefile
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
require File.join(File.dirname(__FILE__), 'spec', 'spec_helper')
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/*_spec.rb', 'spec/*/*_spec.rb']
t.spec_opts = ['--colour', '--format nested']
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "rack-bundle"
gem.summary = "Javascript and CSS bundling at the Rack level"
gem.description = "Javascript and CSS bundling at the Rack level"
gem.email = "[email protected]"
gem.homepage = "http://github.com/juliocesar/rack-bundle"
gem.authors = "Julio Cesar Ody"
gem.add_dependency 'rack', '>= 1.0.0'
gem.add_dependency 'nokogiri', '>= 1.4.2'
gem.add_development_dependency 'rspec', '1.3.0'
gem.add_development_dependency 'rake', '0.8.7'
end
rescue LoadError
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
end