-
Notifications
You must be signed in to change notification settings - Fork 1
/
Rakefile
42 lines (32 loc) · 1.09 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
38
39
require 'rubygems'
require 'rake'
require 'spec/rake/spectask'
require 'cucumber'
require 'cucumber/rake/task'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "loris"
gem.summary = 'Automatically run javascript unit tests'
gem.description = 'Automatically run javascript unit tests'
gem.email = "loris@monket.net"
gem.homepage = "http://github.com/karl/loris"
gem.authors = ["Karl O'Keeffe"]
gem.add_dependency('json', [">= 1.4.3"])
gem.add_dependency('bind', [">= 0.2.6"])
gem.add_dependency('karl-growl', [">= 1.0.6"])
gem.add_dependency('extensions', [">= 0.6.0"])
# 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: sudo gem install jeweler"
end
task :default => :spec
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = Dir.glob('spec/**/*_spec.rb')
# t.rcov = true
end
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "features --format pretty"
end