Sha256: 39de94bd91caa6557f9cb2373318008eb50a6cb7627f83058e548c4e1111c928
Contents?: true
Size: 890 Bytes
Versions: 3
Compression:
Stored size: 890 Bytes
Contents
#!/bin/sh case "$1" in ruby_platform) ruby -e 'puts RUBY_PLATFORM' ;; gem_platform) ruby -e 'puts Gem.platforms.last.to_s' ;; version) ruby -I'lib' -r'libv8/node/version' -e 'puts Libv8::Node::VERSION' ;; node_version) ruby -I'lib' -r'libv8/node/version' -e 'puts Libv8::Node::NODE_VERSION' ;; libv8_version) ruby -I'lib' -r'libv8/node/version' -e 'puts Libv8::Node::LIBV8_VERSION' ;; libv8_version_h) # shellcheck disable=SC2016 ruby -e 'h = File.read("src/node-'"$("$0" node_version)"'/deps/v8/include/v8-version.h"); eval h.each_line.with_object([]) { |l, e| l =~ /#define (V8_[A-Z_]+)\s(\d+)/ && e << "#{$1} = #{$2}" }.join(";"); puts "#{V8_MAJOR_VERSION}.#{V8_MINOR_VERSION}.#{V8_BUILD_NUMBER}.#{V8_PATCH_LEVEL}"' ;; *) exit 64 ;; esac
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
libv8-node-15.14.0.1 | libexec/metadata |
libv8-node-15.14.0.0 | libexec/metadata |
libv8-node-15.12.0.0.beta1 | libexec/metadata |