aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-07-02 15:39:26 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2021-07-02 15:39:26 +0300
commit4bcc51954714ce89bcb11a2f07e26f9188cb542b (patch)
treece5accd4e48aefda46e15b65579849a1d0a9ae1d /Makefile
parent05d71fe82cf1fead57d26ee1e70ccbfc76dce0a1 (diff)
add 'minify' make target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index aaf7d74c..86e55ee4 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