fix(env): setup order
This commit is contained in:
7
env/justfile
vendored
7
env/justfile
vendored
@@ -24,6 +24,10 @@ check:
|
||||
setup:
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
npm i
|
||||
pip install build
|
||||
|
||||
if [ -f ../.env.local ]; then
|
||||
echo ".env.local already exists." >&2
|
||||
if gum confirm "Do you want to overwrite it?"; then
|
||||
@@ -77,9 +81,6 @@ setup:
|
||||
rm -f ../.env.local
|
||||
gomplate -f env.local.gomplate -o ../.env.local
|
||||
|
||||
npm i
|
||||
pip install build
|
||||
|
||||
# Set a specific key in .env.local
|
||||
[working-directory("..")]
|
||||
set key_value:
|
||||
|
||||
Reference in New Issue
Block a user