From ebd1a40e37f4203d037f4fa359814cf94236fc14 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 6 Sep 2022 09:03:24 -0500 Subject: [PATCH] update phony's --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index accaba0..ae484bd 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,24 @@ -.PHONY: lint lint.py lint.sh - ## lint | lint.* +.PHONY: lint lint: lint.py lint.sh ## lint.python | lint python files +.PHONY: lint.python lint.python: black $(shell find -type f -name "*.py") ## lint.sh | lint shell files +.PHONY: lint.sh lint.sh: shfmt -s -w $(shell shfmt -f .) -.PHONY: $(addprefix d-,b r build run) - ## db, d-build | build docker image +.PHONY: db d-build db d-build: docker build -f docker/Dockerfile -t dots . ## dr, d-run | run docker image +.PHONY: dr d-run dr d-run: docker run --rm -it dots