Commit 19b5e3c5 by Adeel

Build: Uses v8 version instead of runtime name.

The new binary path format is:
`<platform>-<arch>-<v8 version>/binding.node`

Issue URL: #694.
PR URL: #695.
parent 8c3bd773
var semver = require('semver'),
runtimeVersion = semver.parse(process.version),
fs = require('fs');
var fs = require('fs');
/**
* Get Runtime Info
......@@ -32,9 +30,7 @@ function getRuntimeInfo() {
function getBinaryIdentifiableName() {
return [process.platform, '-',
process.arch, '-',
process.runtime.name, '-',
runtimeVersion.major, '.',
runtimeVersion.minor].join('');
process.versions.v8].join('');
}
process.runtime = getRuntimeInfo();
......
......@@ -56,7 +56,6 @@
"replace-ext": "0.0.1",
"request": "^2.53.0",
"sass-graph": "^1.0.3",
"semver": "^4.2.2",
"shelljs": "^0.3.0"
},
"devDependencies": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment