Add melos install:local script

Compiles and installs dew binary to ~/.local/bin/dew for global
availability without needing the repo's toolchain binary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Chris Hendrickson 2026-04-23 23:19:46 -04:00
parent b27b5f365d
commit dff35598f5

View file

@ -45,3 +45,8 @@ melos:
run 'dew mcp serve' from your MCP client config — this keeps stdout
clean for the JSON-RPC channel.
run: dart compile exe packages/cli/bin/dew.dart -o .project/toolchain/bin/dew
install:local:
description: >-
Compile and install the Dew CLI to ~/.local/bin/dew so it is available
globally on your PATH. Requires ~/.local/bin to be on PATH.
run: dart compile exe packages/cli/bin/dew.dart -o ~/.local/bin/dew