2011-05-24 14:17:58 -04:00
|
|
|
# -*- encoding: utf-8 -*-
|
2012-04-25 23:46:30 -04:00
|
|
|
$:.unshift File.expand_path("../lib", __FILE__)
|
2011-05-24 14:17:58 -04:00
|
|
|
require "libv8/version"
|
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "libv8"
|
|
|
|
s.version = Libv8::VERSION
|
|
|
|
s.platform = Gem::Platform::RUBY
|
2012-04-25 23:46:30 -04:00
|
|
|
s.authors = ["Charles Lowell"]
|
|
|
|
s.email = ["cowboyd@thefrontside.net"]
|
|
|
|
s.homepage = "http://github.com/cowboyd/libv8"
|
2011-05-24 14:17:58 -04: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.rubyforge_project = "libv8"
|
|
|
|
|
2011-05-31 10:52:36 -04:00
|
|
|
|
|
|
|
s.files = `git ls-files`.split("\n")
|
2012-04-25 23:46:30 -04:00
|
|
|
s.files += Dir.chdir("vendor/v8") do
|
|
|
|
`git ls-files`.split("\n").reject {|f| f =~ /^out/}.map {|f| "vendor/v8/#{f}"}
|
2011-05-24 14:17:58 -04:00
|
|
|
end
|
2012-05-09 16:12:41 -04:00
|
|
|
s.files += Dir['vendor/v8/build/**/*']
|
2011-05-31 10:52:36 -04:00
|
|
|
|
2011-05-24 14:17:58 -04:00
|
|
|
s.extensions = ["ext/libv8/extconf.rb"]
|
2012-05-01 17:47:07 -04:00
|
|
|
s.require_paths = ["lib", "ext"]
|
2011-11-14 17:50:24 -05:00
|
|
|
|
2013-01-04 16:41:18 -05:00
|
|
|
s.add_development_dependency "rake"
|
2012-04-25 23:46:30 -04:00
|
|
|
s.add_development_dependency "rake-compiler"
|
|
|
|
s.add_development_dependency "rspec"
|
2013-01-04 16:41:18 -05:00
|
|
|
s.add_development_dependency "rspec-spies"
|
2011-05-24 14:17:58 -04:00
|
|
|
end
|