diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-07-02 15:39:26 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2021-07-02 15:39:26 +0300 |
commit | 4bcc51954714ce89bcb11a2f07e26f9188cb542b (patch) | |
tree | ce5accd4e48aefda46e15b65579849a1d0a9ae1d /Makefile | |
parent | 05d71fe82cf1fead57d26ee1e70ccbfc76dce0a1 (diff) |
add 'minify' make target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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 |