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