Merge commit 'be3e8236086165e5e45a5a10783823874b3f3ebd' as 'lib/vscode'
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
realpath() { [[ $1 = /* ]] && echo "$1" || echo "$PWD/${1#./}"; }
|
||||
ROOT=$(dirname $(dirname $(realpath "$0")))
|
||||
else
|
||||
ROOT=$(dirname $(dirname $(readlink -f $0)))
|
||||
fi
|
||||
|
||||
DEVELOPER=$(xcode-select -print-path)
|
||||
LIPO=$(xcrun -sdk iphoneos -find lipo)
|
||||
|
||||
function code() {
|
||||
cd $ROOT
|
||||
|
||||
# Node modules
|
||||
test -d node_modules || ./scripts/npm.sh install
|
||||
|
||||
# Configuration
|
||||
export NODE_ENV=development
|
||||
|
||||
# Launch Code
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
exec ./.build/electron/Electron.app/Contents/MacOS/Electron . "$@"
|
||||
else
|
||||
exec ./.build/electron/electron . "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
code "$@"
|
1960
lib/vscode/extensions/shellscript/test/colorize-results/test_sh.json
Normal file
1960
lib/vscode/extensions/shellscript/test/colorize-results/test_sh.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user