build: phonify!
This commit is contained in:
parent
d343002dde
commit
e5954131fb
2 changed files with 2 additions and 12 deletions
|
@ -1,4 +1,5 @@
|
||||||
GOAL_STYLE = b_magenta
|
GOAL_STYLE = b_magenta
|
||||||
HELP_SEP = {a.b_green}->>{a.end}
|
HELP_SEP = {a.b_green}->>{a.end}
|
||||||
USAGE = {a.italic}{a.b_cyan}Best Dots Around{a.end}\n
|
USAGE = {a.italic}{a.b_cyan}Best Dots Around{a.end}\n
|
||||||
|
PHONIFY = 1
|
||||||
|
|
||||||
|
|
13
Makefile
13
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)')
|
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)
|
$(call msg,Linting Python Files)
|
||||||
@black $(shell find -type f -name "*.py")
|
@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
|
completions: ## generate completion scripts
|
||||||
$(call msg,Generating Completions)
|
$(call msg,Generating Completions)
|
||||||
@./lib/completions/update.sh
|
@./lib/completions/update.sh
|
||||||
|
|
||||||
.PHONY: fzf
|
|
||||||
fzf: lib/.fzf/completion.zsh lib/.fzf/key-bindings.zsh ## update fzf shell scripts
|
fzf: lib/.fzf/completion.zsh lib/.fzf/key-bindings.zsh ## update fzf shell scripts
|
||||||
|
|
||||||
# update fzf shell scripts
|
# update fzf shell scripts
|
||||||
|
@ -23,7 +15,6 @@ lib/.fzf/%.zsh: FORCE
|
||||||
wget -O $@ \
|
wget -O $@ \
|
||||||
https://raw.githubusercontent.com/junegunn/fzf/master/shell/$*.zsh
|
https://raw.githubusercontent.com/junegunn/fzf/master/shell/$*.zsh
|
||||||
|
|
||||||
.PHONY: db d-build
|
|
||||||
db d-build: ## build docker image
|
db d-build: ## build docker image
|
||||||
$(call msg,Building Docker Image)
|
$(call msg,Building Docker Image)
|
||||||
@DOCKER_BUILDKIT=1 docker build \
|
@DOCKER_BUILDKIT=1 docker build \
|
||||||
|
@ -32,12 +23,10 @@ db d-build: ## build docker image
|
||||||
-f docker/Dockerfile \
|
-f docker/Dockerfile \
|
||||||
-t dots .
|
-t dots .
|
||||||
|
|
||||||
.PHONY: dr d-run
|
|
||||||
dr d-run: ## run docker image
|
dr d-run: ## run docker image
|
||||||
$(call msg,Running Docker Image)
|
$(call msg,Running Docker Image)
|
||||||
docker run --rm -it dots
|
docker run --rm -it dots
|
||||||
|
|
||||||
.PHONY: dr-keep
|
|
||||||
dr-keep:
|
dr-keep:
|
||||||
docker run -it dots
|
docker run -it dots
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue