1
0
Fork 0
mirror of https://github.com/rubyjs/libv8 synced 2023-03-27 23:21:48 -04:00
libv8/libv8.gemspec

34 lines
1.1 KiB
Ruby
Raw Normal View History

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}
s.license = "MIT"
2011-05-24 13:17:58 -05:00
s.rubyforge_project = "libv8"
s.files = `git ls-files`.split("\n")
submodules = `git submodule --quiet foreach 'echo $path'`.split("\n").map(&:chomp)
submodules.each do |submodule|
s.files += Dir.chdir(submodule) do
2015-07-03 14:55:40 -05:00
`git ls-files`.split("\n").map {|f| "#{submodule}/#{f}"}
end
end
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'
s.add_development_dependency 'rspec', '~> 2.14', '< 2.14.99'
s.add_development_dependency 'rspec-spies', '~> 2.0'
2011-05-24 13:17:58 -05:00
end