Removing some unnecessary differences (#9495)

* work on removing some unncessary differences

* fix compile

* skip another test
This commit is contained in:
Anthony Dresser
2020-04-17 23:53:33 -07:00
committed by GitHub
parent 6f066e90ef
commit dd6b958898
12 changed files with 119 additions and 153 deletions

View File

@@ -10,7 +10,7 @@ fi
cd $ROOT
if [[ "$OSTYPE" == "darwin"* ]] || [[ "$AGENT_OS" == "Darwin"* ]]; then
if [[ "$OSTYPE" == "darwin"* ]]; then
NAME=`node -p "require('./product.json').nameLong"`
CODE="./.build/electron/$NAME.app/Contents/MacOS/Electron"
else
@@ -32,7 +32,7 @@ test -d node_modules || yarn
yarn electron
# Unit Tests
if [[ "$OSTYPE" == "darwin"* ]] || [[ "$AGENT_OS" == "Darwin"* ]]; then
if [[ "$OSTYPE" == "darwin"* ]]; then
cd $ROOT ; ulimit -n 4096 ; \
ELECTRON_ENABLE_LOGGING=1 \
"$CODE" \

View File

@@ -1,2 +0,0 @@
#!/bin/bash
gulp --max_old_space_size=2000 watch || { echo 'gulp electron failed' ; exit 1; }