Skip to content

Commit

Permalink
Merge pull request #25 from ryanlovett/vsx
Browse files Browse the repository at this point in the history
Install VS Code extensions.
  • Loading branch information
ryanlovett authored Jan 16, 2025
2 parents 322b52a + 5e5f6d9 commit 4f3bcec
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,22 @@ playwright install chromium

# https://github.com/berkeley-dsep-infra/datahub/issues/5827
git config --system pull.rebase false

## Install VS Code extensions.

# code-server's conda package assets are installed in share/code-server.
export VSCODE_EXTENSIONS=${CONDA_DIR}/envs/notebook/share/code-server/extensions
mkdir -p ${VSCODE_EXTENSIONS}

# This is not reproducible, and it can be difficult to version these.
for x in \
ms-toolsai.jupyter \
ms-python.python \
quarto.quarto \
continue.continue \
ms-vscode.live-server \
posit.shiny \
reditorsupport.r \
; do
code-server --extensions-dir ${VSCODE_EXTENSIONS} --install-extension $x
done

0 comments on commit 4f3bcec

Please sign in to comment.