summaryrefslogtreecommitdiff
path: root/Makefile
blob: 86e55ee46e26eeb73b52f0770acee295f7561dea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ZSH := $(shell command -v zsh 2> /dev/null)

all:

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