From 50f002c53a2fe2d33f18a4aad0b76aae2361ba20 Mon Sep 17 00:00:00 2001 From: Vikash Kothary Date: Thu, 10 Mar 2022 17:45:05 +0000 Subject: [PATCH] chore: Add make config command to create new dotenv files --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index b7ee230..7f23ae7 100755 --- a/Makefile +++ b/Makefile @@ -31,6 +31,11 @@ run: @if [[ -f "scripts/${*}.sh" ]]; then \ ${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. init: @${POETRY} install