Files
fly-sprites-workers/justfile
T
nandi 2ded63183b fix: resolve Paseo CLI via npm prefix fallback in Sprites and use bash -c for exec
- Add RESOLVE_PASEO_BIN_SNIPPET to locate paseo via npm prefix -g and
  symlink into ~/.local/bin for subsequent calls
- Switch Sprite exec from bash -lc to bash -c so PATH_PREAMBLE
  exports and node version shims apply to already-sourced shells
- Surface npm prefix and install log tail when binary still missing
- Add justfile with plugin install/reload/logs recipes
2026-11-18 18:49:23 -08:00

32 lines
735 B
Makefile

plugin_id := "fly-sprites-workers"
plugin_dir := justfile_directory()
default:
@just --list
# Install dependencies, typecheck, and install or reload the plugin in Paseo
install:
npm install
npm run typecheck
@if paseo plugin ls {{plugin_id}} >/dev/null 2>&1; then \
paseo plugin reload {{plugin_id}} || paseo plugin enable {{plugin_id}}; \
else \
paseo plugin install "{{plugin_dir}}"; \
fi
# Typecheck TypeScript sources
typecheck:
npm run typecheck
# Reload the plugin in Paseo
reload:
paseo plugin reload {{plugin_id}}
# Show recent plugin logs from Paseo
logs:
paseo plugin logs {{plugin_id}}
# Remove the plugin from Paseo
uninstall:
paseo plugin remove {{plugin_id}}