Skip to content

Manual cli tool name mode for local/from PR plugin install scripts#3093

Closed
rinOfTheStars wants to merge 1 commit intocursorless-dev:mainfrom
rinOfTheStars:local-plugin-fix
Closed

Manual cli tool name mode for local/from PR plugin install scripts#3093
rinOfTheStars wants to merge 1 commit intocursorless-dev:mainfrom
rinOfTheStars:local-plugin-fix

Conversation

@rinOfTheStars
Copy link
Contributor

Adds the ability to manually define the IDE cli tool name to ./packages/cursorless-vscode/scripts/install-from-pr.sh, [...]/install-local.sh, and [...]/uninstall-local.sh, and updates ./packages/cursorless-org-docs/src/docs/contributing/CONTRIBUTING.mdx to reflect these changes.

Soft-blocks #3092 since I use VSCodium and can't (un)install a local plugin version without this fix.

This requires changing set -euo pipefail to set -eo pipefail at the start of all three scripts, which might have unforeseen consequences I can't think of right now; I'm also certain there's a better way to demarcate an argument as being optional than how I did it in install-from-pr.sh but IDK what that would be, so feel free to change it to something less garbage!

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants