Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
almirsarajcic committed Sep 17, 2024
1 parent 45d21d6 commit 73ab07d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions priv/static/Linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ function install() {
sudo apt-get -y install build-essential autoconf m4 libncurses5-dev libwxgtk3.0-gtk3-dev libwxgtk-webview3.0-gtk3-dev libgl1-mesa-dev libglu1-mesa-dev libpng-dev libssh-dev unixodbc-dev xsltproc fop libxml2-utils libncurses-dev openjdk-11-jdk
echo 'KERL_CONFIGURE_OPTIONS="--without-javac"' >>~/.kerlrc
mise use -g erlang@$erlang_version
mise reshim
;;
"Elixir")
mise use -g elixir@$elixir_version
mise reshim
;;
"Phoenix")
mix local.hex --force
Expand All @@ -103,6 +105,7 @@ function install() {
postgres_bin_path="$HOME/.local/share/mise/installs/postgres/$postgres_version/bin"
export PATH="$postgres_bin_path:$PATH"
echo "export PATH=\"$postgres_bin_path:\$PATH\"" >>$config_file
mise reshim
;;
*)
echo "Invalid name argument on install"
Expand Down
3 changes: 3 additions & 0 deletions priv/static/macOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ function install() {
brew install autoconf [email protected] wxwidgets libxslt fop
echo 'KERL_CONFIGURE_OPTIONS="--without-javac" --with-ssl=$(brew --prefix [email protected])"' >>~/.kerlrc
mise use -g erlang@$erlang_version
mise reshim
;;
"Elixir")
mise use -g elixir@$elixir_version
mise reshim
;;
"Phoenix")
mix local.hex --force
Expand All @@ -101,6 +103,7 @@ function install() {
postgres_bin_path="$HOME/.local/share/mise/installs/postgres/$postgres_version/bin"
export PATH="$postgres_bin_path:$PATH"
echo "export PATH=\"$postgres_bin_path:\$PATH\"" >>$config_file
mise reshim
;;
*)
echo "Invalid name argument on install"
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SHELL := $(shell echo $$SHELL)
serve:
# initdb -D ~/pgdata -U postgres
# pg_ctl start -D ~/pgdata
echo "Debug PATH: $PATH"
echo "Debug PATH: $$PATH"
mix phx.new --no-install phx_tools_test
cd phx_tools_test && mix local.rebar --force && mix setup
cd phx_tools_test && elixir --erl "-detached" -S mix phx.server

0 comments on commit 73ab07d

Please sign in to comment.