From 4bcc51954714ce89bcb11a2f07e26f9188cb542b Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Fri, 2 Jul 2021 14:39:26 +0200 Subject: [PATCH] add 'minify' make target --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index aaf7d74..86e55ee 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,13 @@ ZSH := $(shell command -v zsh 2> /dev/null) all: -pkg: - $(MAKE) -C gitstatus pkg - $(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done' - zwc: $(MAKE) -C gitstatus zwc $(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done' + +minify: + $(MAKE) -C gitstatus minify + rm -rf -- .git .gitattributes .gitignore LICENSE Makefile README.md font.md powerlevel10k.png + +pkg: zwc + $(MAKE) -C gitstatus pkg