From be6c6fe66536379884f89e463616f2b3032cd27b Mon Sep 17 00:00:00 2001 From: Konstantin Gredeskoul Date: Mon, 15 Apr 2024 11:39:57 -0700 Subject: [PATCH] Move direnv after volta --- bin/boot-up | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/boot-up b/bin/boot-up index fe6d87be..2bc124fa 100755 --- a/bin/boot-up +++ b/bin/boot-up @@ -24,12 +24,6 @@ run.set-all abort-on-error run "brew services start postgresql@16" run "brew services start memcached" -command -V direnv >/dev/null && { - h1 "Setting up direnv..." - eval "$(direnv hook bash)" # this script evaluates within BASH - run "direnv allow ." -} - h1 "Installing Dependencies" rbenv install -s "$(cat .ruby-version)" @@ -41,6 +35,12 @@ run "volta install yarn@4.1.1" run "volta pin node" run "volta pin yarn" +command -V direnv >/dev/null && { + h1 "Setting up direnv..." + eval "$(direnv hook bash)" # this script evaluates within BASH + run "direnv allow ." +} + run "yarn install" run "yarn run build"