continue-custom/install-dependencies.sh
2024-02-03 17:07:30 -08:00

26 lines
599 B
Bash
Executable file

#!/bin/bash
# This is used in a task in .vscode/tasks.json
# Start developing with:
# - Run Task -> Install Dependencies
# - Debug -> Extension
set -e
echo "Installing Core extension dependencies..."
pushd core
npm install
npm link
popd
echo "Installing GUI extension dependencies..."
pushd gui
npm install
npm link core
npm run build
popd
# VSCode Extension (will also package GUI)
echo "Installing VSCode extension dependencies..."
pushd extensions/vscode
# This does way too many things inline but is the common denominator between many of the scripts
npm install
npm link core
npm run package