mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +03:00
Remove cmake check since it is no longer required
This commit is contained in:
parent
a8a28c8635
commit
e4fc15deec
@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
var safeExec = require('./utils/child-process-wrapper.js').safeExec;
|
var safeExec = require('./utils/child-process-wrapper.js').safeExec;
|
||||||
var exec = require('child_process').exec;
|
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
// Executes an array of commands one by one.
|
// Executes an array of commands one by one.
|
||||||
@ -18,15 +17,6 @@ function joinCommands() {
|
|||||||
return Array.prototype.slice.call(arguments, 0).join(commandSeparator);
|
return Array.prototype.slice.call(arguments, 0).join(commandSeparator);
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkDependencies() {
|
|
||||||
exec("cmake -h", function(error) {
|
|
||||||
if (error) {
|
|
||||||
console.error("Error: cmake is required to build Atom.")
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
var echoNewLine = process.platform == 'win32' ? 'echo.' : 'echo';
|
var echoNewLine = process.platform == 'win32' ? 'echo.' : 'echo';
|
||||||
var commands = [
|
var commands = [
|
||||||
'git submodule --quiet sync',
|
'git submodule --quiet sync',
|
||||||
@ -37,6 +27,5 @@ var commands = [
|
|||||||
'node vendor/apm/bin/apm install --silent',
|
'node vendor/apm/bin/apm install --silent',
|
||||||
];
|
];
|
||||||
|
|
||||||
checkDependencies()
|
|
||||||
process.chdir(path.dirname(__dirname));
|
process.chdir(path.dirname(__dirname));
|
||||||
executeCommands(commands, process.exit);
|
executeCommands(commands, process.exit);
|
||||||
|
Loading…
Reference in New Issue
Block a user