mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Add Package flags, get .js
to find executable
This commit is contained in:
parent
d5c427a924
commit
714653ea01
@ -16,6 +16,8 @@ FOR %%a IN (%*) DO (
|
||||
IF /I "%%a"=="--test" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="--benchmark" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="--benchmark-test" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="-p" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="--package" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="-v" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="--version" SET EXPECT_OUTPUT=YES
|
||||
IF /I "%%a"=="--enable-electron-logging" SET ELECTRON_ENABLE_LOGGING=YES
|
||||
|
@ -1,7 +1,7 @@
|
||||
var path = require('path');
|
||||
var spawn = require('child_process').spawn;
|
||||
|
||||
var atomCommandPath = path.resolve(__dirname, '..', '..', process.argv[2]);
|
||||
var atomCommandPath = path.resolve(__dirname, '..', process.argv[2]);
|
||||
var args = process.argv.slice(3);
|
||||
args.unshift('--executed-from', process.cwd());
|
||||
var options = { detached: true, stdio: 'ignore' };
|
||||
|
Loading…
Reference in New Issue
Block a user