vscodium/build/build_macos.sh

23 lines
345 B
Bash
Raw Normal View History

2021-03-10 10:04:07 -05:00
#!/bin/bash
rm -rf VSCode*
rm -rf vscode*
2021-03-10 10:04:07 -05:00
UNAME_ARCH=$( uname -m )
if [[ "${UNAME_ARCH}" == "arm64" ]]; then
export VSCODE_ARCH="arm64"
else
export VSCODE_ARCH="x64"
fi
echo "-- VSCODE_ARCH: ${VSCODE_ARCH}"
if [[ "${1}" == "insider" ]]; then
export INSIDER="yes"
fi
2021-03-10 10:04:07 -05:00
. get_repo.sh
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=osx . build.sh