remove unneeded stuff

This commit is contained in:
Hubert Chathi 2020-06-03 16:47:09 -04:00
parent 188190888b
commit b4af8d9ce5
2 changed files with 0 additions and 23 deletions

View file

@ -17,29 +17,7 @@ limitations under the License.
const childProcess = require('child_process');
module.exports = async function(hakEnv, moduleInfo) {
// of course tcl doesn't have a --version
if (!hakEnv.isLinux()) {
await new Promise((resolve, reject) => {
const proc = childProcess.spawn('tclsh', [], {
stdio: ['pipe', 'ignore', 'ignore'],
});
proc.on('exit', (code) => {
if (code !== 0) {
reject("Can't find tclsh - have you installed TCL?");
} else {
resolve();
}
});
proc.stdin.end();
});
}
const tools = [['python', '--version']]; // node-gyp uses python for reasons beyond comprehension
if (hakEnv.isWin()) {
tools.push(['nmake', '/?']);
} else {
tools.push(['make', '--version']);
}
for (const tool of tools) {
await new Promise((resolve, reject) => {

View file

@ -3,7 +3,6 @@
"check": "check.js",
"build": "build.js"
},
"prune": "native",
"copy": "build/Release/keytar.node",
"dependencies": {
"libsecret": "0.20.3"