commit eb91e73ec103f58eeb53d8c1bb7ae8874b6df747 parent 83a1620a9873697998d9dc8aba5969f15ab0ddcd Author: Stefan Koch <programming@stefan-koch.name> Date: Sun, 6 Aug 2023 10:18:50 +0200 add command to build new docker container Diffstat:
M | Makefile | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,8 +1,13 @@ .PHONY: check test +VERSION=$(shell grep -o "version = \"\([0-9.]\+\)\"" pyproject.toml | sed 's/version = //' | sed 's/"//g') + check: black --check . isort --check . test: pytest tests + +build: + docker build -t nlparrot:${VERSION} .