diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-05-31 20:55:52 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-05-31 20:55:52 -0400 |
commit | 3349f9726606e53e181e5c499106e78f4538ed53 (patch) | |
tree | efcdc2a97f8a8bbaf19e4379d1ac582824d758f1 /extension | |
parent | a4e9e7764ee42a743dbfbaedb520cc70daa23ec4 (diff) | |
download | sncontinue-3349f9726606e53e181e5c499106e78f4538ed53.tar.gz sncontinue-3349f9726606e53e181e5c499106e78f4538ed53.tar.bz2 sncontinue-3349f9726606e53e181e5c499106e78f4538ed53.zip |
small script corrections
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package.json | 2 | ||||
-rw-r--r-- | extension/scripts/install_from_source.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extension/package.json b/extension/package.json index 1a8d9004..324ea8dd 100644 --- a/extension/package.json +++ b/extension/package.json @@ -160,7 +160,7 @@ "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js", - "package": "cp ./config/prod_config.json ./config/config.json && mkdir -p ./build && vsce package --out ./build && chmod 777 ./build/continue-0.0.5.vsix && cp ./config/dev_config.json ./config/config.json", + "package": "cp ./config/prod_config.json ./config/config.json && mkdir -p ./build && vsce package --out ./build && cp ./config/dev_config.json ./config/config.json", "full-package": "cd ../continuedev && poetry build && cp ./dist/continuedev-0.1.0-py3-none-any.whl ../extension/scripts/continuedev-0.1.0-py3-none-any.whl && cd ../extension && npm run typegen && npm run clientgen && cd react-app && npm run build && cd .. && npm run package", "install-extension": "code --install-extension ./build/continue-0.0.6.vsix", "uninstall": "code --uninstall-extension .continue", diff --git a/extension/scripts/install_from_source.py b/extension/scripts/install_from_source.py index 28f382b0..bbb86797 100644 --- a/extension/scripts/install_from_source.py +++ b/extension/scripts/install_from_source.py @@ -29,7 +29,7 @@ def main(): print("Poetry is required for Continue but is not installed on your machine. See https://python-poetry.org/docs/#installation to download the latest version, then try again.") return - resp = run("cd ../../continuedev; poetry run typegen") + resp = run("cd ../../continuedev; poetry install; poetry run typegen") resp = run( "cd ..; npm i; cd react-app; npm i; cd ..; npm run full-package") |