chore: Add make config command to create new dotenv files
This commit is contained in:
parent
16fbf6e27f
commit
50f002c53a
5
Makefile
5
Makefile
@ -31,6 +31,11 @@ run:
|
|||||||
@if [[ -f "scripts/${*}.sh" ]]; then \
|
@if [[ -f "scripts/${*}.sh" ]]; then \
|
||||||
${BASH} "scripts/${*}.sh"; fi
|
${BASH} "scripts/${*}.sh"; fi
|
||||||
|
|
||||||
|
.PHONY: config #: Create new config file.
|
||||||
|
config: config/.env.${ENV}
|
||||||
|
config/.env.%:
|
||||||
|
@cp -n config/.env.example config/.env.${ENV}
|
||||||
|
|
||||||
.PHONY: init #: Download Python dependencies.
|
.PHONY: init #: Download Python dependencies.
|
||||||
init:
|
init:
|
||||||
@${POETRY} install
|
@${POETRY} install
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user