From 21bdc4eab842de28940b7bc006d7498d65f07e85 Mon Sep 17 00:00:00 2001
From: Levente Polyak <anthraxx@archlinux.org>
Date: Sat, 14 Oct 2023 20:15:19 +0200
Subject: [PATCH] feat(make): add dev-env target to exec into a development
 environment

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 4cb0965..b8db799 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,9 @@ test-coverage: test-image
 	mkdir -m 777 ${PWD}/coverage
 	$(DOCKER) run  $(RUN_OPTIONS) -v ${PWD}/coverage:/coverage -e COVERAGE_DIR=/coverage $(IMAGE) make test-coverage
 
+dev-env: test-image
+	$(DOCKER) run $(RUN_OPTIONS) --tty --interactive $(IMAGE) /bin/bash
+
 check:
 	shellcheck -S error db-* testing2x
 
-- 
GitLab