2012-04-25 22:46:30 -05:00
|
|
|
$:.unshift File.expand_path("../lib", __FILE__)
|
2011-05-24 13:17:58 -05:00
|
|
|
require "libv8/version"
|
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "libv8"
|
|
|
|
s.version = Libv8::VERSION
|
|
|
|
s.platform = Gem::Platform::RUBY
|
2012-04-25 22:46:30 -05:00
|
|
|
s.authors = ["Charles Lowell"]
|
|
|
|
s.email = ["cowboyd@thefrontside.net"]
|
|
|
|
s.homepage = "http://github.com/cowboyd/libv8"
|
2011-05-24 13:17:58 -05:00
|
|
|
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}
|
2013-02-17 23:34:59 +01:00
|
|
|
s.license = "MIT"
|
2011-05-24 13:17:58 -05:00
|
|
|
|
|
|
|
s.rubyforge_project = "libv8"
|
|
|
|
|
2011-05-31 09:52:36 -05:00
|
|
|
s.files = `git ls-files`.split("\n")
|
2014-06-16 22:49:06 +03:00
|
|
|
|
|
|
|
submodules = `git submodule --quiet foreach 'echo $path'`.split("\n").map(&:chomp)
|
|
|
|
submodules.each do |submodule|
|
|
|
|
s.files += Dir.chdir(submodule) do
|
2015-07-05 17:11:42 +03:00
|
|
|
`git ls-files`.split("\n").reject {|f| f =~ /^test/}.map {|f| "#{submodule}/#{f}"}
|
2014-06-16 22:49:06 +03:00
|
|
|
end
|
2013-06-19 16:25:06 +02:00
|
|
|
end
|
2011-05-31 09:52:36 -05:00
|
|
|
|
2011-05-24 13:17:58 -05:00
|
|
|
s.extensions = ["ext/libv8/extconf.rb"]
|
2012-05-01 14:47:07 -07:00
|
|
|
s.require_paths = ["lib", "ext"]
|
2011-11-14 16:50:24 -06:00
|
|
|
|
2014-06-17 15:31:30 +03:00
|
|
|
s.add_development_dependency 'rake', '~> 10'
|
|
|
|
s.add_development_dependency 'rake-compiler', '~> 0'
|
2015-07-05 17:17:22 +03:00
|
|
|
s.add_development_dependency 'rspec', '~> 3'
|
2011-05-24 13:17:58 -05:00
|
|
|
end
|