Sha256: 522ccecf72a7d6fb02df475c3bf1c4a9aaf0fd5309184f511397c443f2255573
Contents?: true
Size: 1011 Bytes
Versions: 3
Compression:
Stored size: 1011 Bytes
Contents
#!/bin/sh set -e set -u version="${1}" libexec="$(cd "$(dirname "$0")"; pwd)" top="${libexec}/.." src="${2:-"${top}/src"}" cd "${src}/node-${version}" BASEDIR="${PWD}" BUILDTYPE="${BUILDTYPE:-Release}" platform=$(uname) case "${platform}" in SunOS) STRIP="${STRIP:-gstrip}" ;; *) STRIP="${STRIP:-strip}" ;; esac cd "${BASEDIR}/deps/v8/include" rm -rf "${top}/vendor/v8/include" find . -name '*.h' | while read -r header; do dir="${top}/vendor/v8/include/$(dirname "${header}")" mkdir -p "${dir}" cp "${header}" "${dir}" done cd "${BASEDIR}/out/${BUILDTYPE}" rm -rf "${top}/vendor/v8/out.gn" # shellcheck disable=SC2043 for lib in libv8_monolith.a; do dir="${top}/vendor/v8/out.gn/libv8/obj/$(dirname "${lib}")" mkdir -p "${dir}" rm -f "${dir}/${lib}" "${STRIP}" -S -x -o "${dir}/${lib}" "${lib}" done mkdir -p "${top}/ext/libv8-node" echo '--- !ruby/object:Libv8::Node::Location::Vendor {}' > "${top}/ext/libv8-node/.location.yml"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
libv8-node-15.14.0.1 | libexec/inject-libv8 |
libv8-node-15.14.0.0 | libexec/inject-libv8 |
libv8-node-15.12.0.0.beta1 | libexec/inject-libv8 |