From e5954131fbadd5f6c81f44646bfb591b2494097a Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 24 Jan 2023 12:19:34 -0600 Subject: [PATCH] build: phonify! --- .task.cfg.mk | 1 + Makefile | 13 +------------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.task.cfg.mk b/.task.cfg.mk index 6c0040b..a70239e 100644 --- a/.task.cfg.mk +++ b/.task.cfg.mk @@ -1,4 +1,5 @@ GOAL_STYLE = b_magenta HELP_SEP = {a.b_green}->>{a.end} USAGE = {a.italic}{a.b_cyan}Best Dots Around{a.end}\n +PHONIFY = 1 diff --git a/Makefile b/Makefile index bdaf5a9..78ace46 100644 --- a/Makefile +++ b/Makefile @@ -1,21 +1,13 @@ -lint: lint.py lint.sh ## lint.* - msg = $(if tprint,$(call tprint,{a.b_magenta}==>{a.end}{a.bold} $(1){a.end}),@echo '==> $(1)') -lint.py: info ## lint python files +lint: ## lint python files $(call msg,Linting Python Files) @black $(shell find -type f -name "*.py") -.PHONY: lint.sh -lint.sh: ## lint shell files - $(call msg,Linting Shell Files) - @shfmt -s -w $(shell shfmt -f .) - completions: ## generate completion scripts $(call msg,Generating Completions) @./lib/completions/update.sh -.PHONY: fzf fzf: lib/.fzf/completion.zsh lib/.fzf/key-bindings.zsh ## update fzf shell scripts # update fzf shell scripts @@ -23,7 +15,6 @@ lib/.fzf/%.zsh: FORCE wget -O $@ \ https://raw.githubusercontent.com/junegunn/fzf/master/shell/$*.zsh -.PHONY: db d-build db d-build: ## build docker image $(call msg,Building Docker Image) @DOCKER_BUILDKIT=1 docker build \ @@ -32,12 +23,10 @@ db d-build: ## build docker image -f docker/Dockerfile \ -t dots . -.PHONY: dr d-run dr d-run: ## run docker image $(call msg,Running Docker Image) docker run --rm -it dots -.PHONY: dr-keep dr-keep: docker run -it dots