fix(env): setup order

This commit is contained in:
Masaki Yatsu
2025-09-07 23:10:32 +09:00
parent 5f5a59969b
commit d5615fce2c

7
env/justfile vendored
View File

@@ -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: