forked from rubyjs/libv8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libv8.gemspec
35 lines (29 loc) · 1.19 KB
/
libv8.gemspec
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
# -*- encoding: utf-8 -*-
$:.unshift File.expand_path("../lib", __FILE__)
require "libv8/version"
Gem::Specification.new do |s|
s.name = "libv8"
s.version = Libv8::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Charles Lowell"]
s.email = ["cowboyd@thefrontside.net"]
s.homepage = "http://github.com/cowboyd/libv8"
s.summary = %q{Distribution of the V8 JavaScript engine}
s.description = %q{Distributes the V8 JavaScript engine in binary and source forms in order to support fast builds of The Ruby Racer}
s.license = "MIT"
s.rubyforge_project = "libv8"
s.files = `git ls-files`.split("\n")
s.files += Dir.chdir("vendor/v8") do
`git ls-files`.split("\n").reject {|f| f =~ /^out/}.map {|f| "vendor/v8/#{f}"}
end
s.files += Dir['vendor/v8/build/**/*']
s.files += Dir.chdir("vendor/gyp") do
`git ls-files`.split("\n").map {|f| "vendor/gyp/#{f}"}
end
s.extensions = ["ext/libv8/extconf.rb"]
s.require_paths = ["lib", "ext"]
s.add_development_dependency 'rake', '~> 10'
s.add_development_dependency 'rake-compiler', '~> 0'
s.add_development_dependency 'rspec', '~> 2'
s.add_development_dependency 'rspec-spies', '~> 2'
end