Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 18, 2024
1 parent e125c50 commit f18dbbc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ function install() {
;;
"mise")
curl https://mise.run | sh
echo "\n\neval \"\$(~/.local/bin/mise activate $current_shell)\"" >>$config_file
eval "$(~/.local/bin/mise activate $current_shell)"
command='"$(~/.local/bin/mise activate '$current_shell')"'
echo -e "\n\neval$command" >>$config_file
eval "$command"
eval "$(~/.local/bin/mise hook-env)"

echo "--- Debug $config_file ---"
Expand Down
5 changes: 3 additions & 2 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,9 @@ function install() {
;;
"mise")
curl https://mise.run | sh
echo "\n\neval \"\$(~/.local/bin/mise activate $current_shell)\"" >>$config_file
eval "$(~/.local/bin/mise activate $current_shell)"
command='"$(~/.local/bin/mise activate '$current_shell')"'
echo -e "\n\neval$command" >>$config_file
eval "$command"
eval "$(~/.local/bin/mise hook-env)"

echo "--- Debug $config_file ---"
Expand Down
1 change: 1 addition & 0 deletions test/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ SHELL := $(shell echo $$SHELL)
.SHELLFLAGS := -eu -c

serve:
eval "$(~/.local/bin/mise hook-env)"
initdb -D ~/pgdata -U postgres
pg_ctl start -D ~/pgdata
mix phx.new --no-install phx_tools_test
Expand Down

0 comments on commit f18dbbc

Please sign in to comment.