chore: enable native unittesting (#20293)

This commit is contained in:
Shelley Vohr 2019-10-03 22:21:30 +02:00 committed by GitHub
parent f054d5862c
commit 80af35e0cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 199 additions and 17 deletions

View file

@ -27,7 +27,7 @@ function getOutDir (shouldLog) {
if (process.env.ELECTRON_OUT_DIR) {
return process.env.ELECTRON_OUT_DIR
} else {
for (const buildType of ['Debug', 'Testing', 'Release']) {
for (const buildType of ['Debug', 'Testing', 'Release', 'Default']) {
const outPath = path.resolve(SRC_DIR, 'out', buildType)
if (fs.existsSync(outPath)) {
if (shouldLog) console.log(`OUT_DIR is: ${buildType}`)