Skip to content

Commit

Permalink
remove "run" script in favour of Extension > Activate menu
Browse files Browse the repository at this point in the history
  • Loading branch information
robb-j committed Jun 2, 2022
1 parent 00d3e16 commit 610fa0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
6 changes: 3 additions & 3 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ npm install
## regular use

For development, use the `Development` task to build and run the extension locally.
**Build** will compile the TypeScript into JavaScript into the extension folder.
**Run** will do the build, install bundled dependencies and activate the extension in Nova.
**Build** will compile the TypeScript into JavaScript into the extension folder and install bundled dependencies.
Use **Extensions → Activate Project as Extension** to run the extension.
Nova will run the extension locally and restart when any file inside the `.novaextension` changes,
i.e. by running the **Build** task.
i.e. by running the **Build** task again.

> Make sure to disable the extension if a published version is already installed.
Expand Down
3 changes: 3 additions & 0 deletions bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ set -e
# Lint TypeScript source code
npx tsc --noEmit --pretty

# Install extension dependencies
npm --prefix yaml.novaextension i --no-audit

# Bundle into JavaScript
npx esbuild \
--bundle \
Expand Down
8 changes: 0 additions & 8 deletions bin/run.sh

This file was deleted.

0 comments on commit 610fa0b

Please sign in to comment.