- fixing build

- add manual build
This commit is contained in:
Baptiste Augrain 2021-03-10 16:04:07 +01:00
parent 99f27fe9ed
commit f8eeb2b698
3 changed files with 15 additions and 4 deletions

10
build_macos.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/bash
nvm use 12
rm -rf VSCode*
rm -rf vscode
. get_repo.sh
SHOULD_BUILD=yes CI_BUILD=no OS_NAME=osx VSCODE_ARCH=x64 . build.sh

View File

@ -9,6 +9,7 @@ echo "Got the latest MS tag: ${LATEST_MS_TAG}"
git clone https://github.com/Microsoft/vscode.git --branch $LATEST_MS_TAG --depth 1
# for GH actions
echo "LATEST_MS_COMMIT=$LATEST_MS_COMMIT" >> $GITHUB_ENV
echo "LATEST_MS_TAG=$LATEST_MS_TAG" >> $GITHUB_ENV
if [[ $GITHUB_ENV ]]; then
echo "LATEST_MS_COMMIT=$LATEST_MS_COMMIT" >> $GITHUB_ENV
echo "LATEST_MS_TAG=$LATEST_MS_TAG" >> $GITHUB_ENV
fi

View File

@ -13,4 +13,4 @@
/usr/share/bash-completion/completions/@@NAME@@
/usr/share/zsh/site-functions/_@@NAME@@
+
++%config(noreplace) /usr/share/@@NAME@@/resources/app/product.json
+%config(noreplace) /usr/share/@@NAME@@/resources/app/product.json