From de7c532069f70728758fa7967bdb7fed289c7919 Mon Sep 17 00:00:00 2001 From: Alexandre Payot <18074599+payoto@users.noreply.github.com> Date: Sat, 23 Dec 2023 15:04:15 +0100 Subject: [PATCH] Fix the install instructions for Typescript core (#700) --- CONTRIBUTING.md | 2 ++ install-dependencies.sh | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 664b1cd62..4cd04cfd4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -54,6 +54,8 @@ Continue is continuously improving, but a feature isn't complete until it is ref VS Code is assumed for development as Continue is primarily a VS Code tool at the moment. Most of the setup and running is automated through VS Code tasks and launch configurations. +Pre-requisite: you will need `cargo` the rust package manager installed ([get it on rust-lang.org](https://www.rust-lang.org/tools/install)). + 1. Clone and open in VS Code the Continue repo `https://github.com/continuedev/continue` 2. Open VS Code command pallet (`cmd+shift+p`) and select `Tasks: Run Task` and then select `install-all-dependencies` diff --git a/install-dependencies.sh b/install-dependencies.sh index 5b677af8b..7e124e8c2 100755 --- a/install-dependencies.sh +++ b/install-dependencies.sh @@ -3,11 +3,23 @@ # 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 +popd # VSCode Extension (will also package GUI) echo "Installing VSCode extension dependencies..." -pushd extensions/vscode || exit +pushd extensions/vscode # This does way too many things inline but is the common denominator between many of the scripts -npm install || exit +npm install +npm link core npm run package \ No newline at end of file