1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-21 20:00:07 +00:00

add 'minify' make target

This commit is contained in:
Roman Perepelitsa 2021-07-02 14:39:26 +02:00
parent 05d71fe82c
commit 4bcc519547

View file

@ -2,10 +2,13 @@ ZSH := $(shell command -v zsh 2> /dev/null)
all: 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: zwc:
$(MAKE) -C gitstatus zwc $(MAKE) -C gitstatus zwc
$(or $(ZSH),:) -fc 'for f in *.zsh-theme internal/*.zsh; do zcompile -R -- $$f.zwc $$f || exit; done' $(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