From c708c13c0cff94aa1f12a76d45534de26f3f6f16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Almir=20Saraj=C4=8Di=C4=87?= Date: Thu, 19 Sep 2024 00:39:54 +0200 Subject: [PATCH] Now try the full setup --- priv/static/Linux.sh | 6 +++--- priv/static/macOS.sh | 6 +++--- test/scripts/Makefile | 7 ++----- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/priv/static/Linux.sh b/priv/static/Linux.sh index 7aa99849..f089e36e 100755 --- a/priv/static/Linux.sh +++ b/priv/static/Linux.sh @@ -139,9 +139,9 @@ add_env() { sleep 1.5 maybe_install "Phoenix" - # printf "${white}\n" - # sleep 1.5 - # maybe_install "PostgreSQL" + printf "${white}\n" + sleep 1.5 + maybe_install "PostgreSQL" printf "${white}\n" printf "${cyan}${bold}phx.tools setup is complete!\n" diff --git a/priv/static/macOS.sh b/priv/static/macOS.sh index 3cfe8903..052189fe 100755 --- a/priv/static/macOS.sh +++ b/priv/static/macOS.sh @@ -156,9 +156,9 @@ add_env() { sleep 1.5 maybe_install "Phoenix" - # printf "${white}\n" - # sleep 1.5 - # maybe_install "PostgreSQL" + printf "${white}\n" + sleep 1.5 + maybe_install "PostgreSQL" printf "${white}\n" printf "${cyan}${bold}phx.tools setup is complete!\n" diff --git a/test/scripts/Makefile b/test/scripts/Makefile index fbe52fe1..9948ccb5 100644 --- a/test/scripts/Makefile +++ b/test/scripts/Makefile @@ -5,11 +5,8 @@ current_shell := $(shell basename $(SHELL)) SHELLFLAGS := -eu -c serve: - # initdb -D ~/pgdata -U postgres - # pg_ctl start -D ~/pgdata - @echo "Current PATH: $$PATH" - @which mise - @mise --version + mise exec -- initdb -D ~/pgdata -U postgres + mise exec -- pg_ctl start -D ~/pgdata mise exec -- mix phx.new --no-install phx_tools_test cd phx_tools_test mise exec -- mix setup