Commit cfd7dd2d by Michael Mifsud

Merge pull request #1128 from xzyfer/feat/node-gyp

Replace pangyp with node-gyp
parents 052c0c42 35aa6dd6
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"nan": "^2.0.8", "nan": "^2.0.8",
"npmconf": "^2.1.2", "npmconf": "^2.1.2",
"pangyp": "^2.3.0", "node-gyp": "^3.0.1",
"request": "^2.61.0", "request": "^2.61.0",
"sass-graph": "^2.0.1" "sass-graph": "^2.0.1"
}, },
......
...@@ -130,7 +130,7 @@ function build(options) { ...@@ -130,7 +130,7 @@ function build(options) {
process.exit(1); process.exit(1);
} }
var args = [require.resolve(path.join('pangyp', 'bin', 'node-gyp.js')), 'rebuild', '--verbose'].concat( var args = [require.resolve(path.join('node-gyp', 'bin', 'node-gyp.js')), 'rebuild', '--verbose'].concat(
['libsass_ext', 'libsass_cflags', 'libsass_ldflags', 'libsass_library'].map(function(subject) { ['libsass_ext', 'libsass_cflags', 'libsass_ldflags', 'libsass_library'].map(function(subject) {
return ['--', subject, '=', process.env[subject.toUpperCase()] || ''].join(''); return ['--', subject, '=', process.env[subject.toUpperCase()] || ''].join('');
})).concat(options.args); })).concat(options.args);
......
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