-
Notifications
You must be signed in to change notification settings - Fork 4
/
Rakefile
37 lines (31 loc) · 1.75 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
require 'rubygems'
require 'rake'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "sassafras"
s.executables = "sassafras"
s.description = "Sass color scheme generator"
s.email = "[email protected]"
s.homepage = "http://github.com/teejayvanslyke/sassafras"
s.authors = ["T.J. VanSlyke"]
s.files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "Rakefile", "bin/sassafras", "config/hoe.rb", "config/requirements.rb", "examples/analogous_red.html", "examples/split_complementary_blue.html", "lib/sassafras.rb", "lib/sassafras/swatch.html.erb", "lib/sassafras/version.rb", "script/console", "script/destroy", "script/generate", "script/txt2html", "setup.rb", "spec/sassafras_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/deployment.rake", "tasks/environment.rake", "tasks/examples.rake", "tasks/rspec.rake", "tasks/website.rake", "website/index.html", "website/index.txt", "website/javascripts/rounded_corners_lite.inc.js", "website/stylesheets/screen.css", "website/template.html.erb"]
s.add_development_dependency "rspec"
s.add_dependency("color-tools", [">= 1.3.0"])
s.add_dependency("activesupport", [">= 1.3.0"])
end
rescue LoadError
puts "Jeweler, or one of its dependencies, is not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.spec_files = FileList['spec/**/*_spec.rb']
end
Spec::Rake::SpecTask.new(:rcov) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
task :spec => :check_dependencies
task :default => :spec