Skip to content

Commit

Permalink
Build: Uses v8 version instead of runtime name.
Browse files Browse the repository at this point in the history
The new binary path format is:
`<platform>-<arch>-<v8 version>/binding.node`

Issue URL: sass#694.
PR URL: sass#695.
  • Loading branch information
am11 committed Feb 22, 2015
1 parent 8c3bd77 commit 19b5e3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions lib/extensions.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
var semver = require('semver'),
runtimeVersion = semver.parse(process.version),
fs = require('fs');
var fs = require('fs');

/**
* Get Runtime Info
Expand Down Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 19b5e3c

Please # to comment.