This commit is contained in:
2025-04-13 22:53:52 -04:00
parent 7975c97109
commit f3157925ad

7
flow
View File

@ -86,7 +86,8 @@ clean() {
jspg-usage() { jspg-usage() {
echo -e " ${CYAN}JSPG Commands:${RESET}" echo -e " ${CYAN}JSPG Commands:${RESET}"
echo -e " prepare Check OS, Cargo, and PGRX dependencies." echo -e " prepare Check OS, Cargo, and PGRX dependencies."
echo -e " install [opts] Build and install the extension locally (dev)." echo -e " install [opts] Run prepare, then build and install the extension locally."
echo -e " reinstall [opts] Run prepare, clean, then build and install the extension locally."
echo -e " test [opts] Run pgrx integration tests." echo -e " test [opts] Run pgrx integration tests."
echo -e " clean Remove pgrx build artifacts." echo -e " clean Remove pgrx build artifacts."
echo -e " build Build release artifacts into ./package/ (called by release)." echo -e " build Build release artifacts into ./package/ (called by release)."
@ -99,8 +100,8 @@ jspg-flow() {
case "$1" in case "$1" in
prepare) base prepare; cargo-prepare; pgrx-prepare; return 0;; prepare) base prepare; cargo-prepare; pgrx-prepare; return 0;;
build) build; return 0;; build) build; return 0;;
install) install; return 0;; install) base prepare; cargo-prepare; pgrx-prepare; install "$@"; return 0;;
reinstall) reinstall; return 0;; reinstall) base prepare; cargo-prepare; pgrx-prepare; install "$@"; return 0;;
test) test; return 0;; test) test; return 0;;
package) package; return 0;; package) package; return 0;;
release) release; return 0;; release) release; return 0;;