-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (23 loc) · 696 Bytes
/
Rakefile
File metadata and controls
28 lines (23 loc) · 696 Bytes
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
require 'rubygems'
require 'rake'
require 'echoe'
def version
$1 if File.read('lib/jspec.js').match /version *: *'(.*?)'/
end
Echoe.new "jspec", version do |p|
p.author = "TJ Holowaychuk"
p.email = "tj@vision-media.ca"
p.summary = "JavaScript BDD Testing Framework"
p.url = "http://visionmedia.github.com/jspec"
p.runtime_dependencies << "sinatra"
p.runtime_dependencies << "json_pure"
p.runtime_dependencies << "commander >=4.0.1"
p.runtime_dependencies << "bind >=0.2.8"
end
namespace :spec do
desc 'Run jspec executable specs'
task :bin do
sh 'spec --color --require spec/ruby/bin/spec_helper.rb spec/ruby/bin/*_spec.rb'
end
end
task :gemspec => :build_gemspec