1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
CRAZY_COMPLETE ?= ../crazy-complete
all: bash fish zsh
bash:
mkdir -p generated/bash
$(CRAZY_COMPLETE) \
--inherit-options=True \
-o generated/bash/example \
bash example.yaml
fish:
mkdir -p generated/fish
$(CRAZY_COMPLETE) \
--inherit-options=True \
-o generated/fish/example.fish \
fish example.yaml
zsh:
mkdir -p generated/zsh
$(CRAZY_COMPLETE) \
--inherit-options=True \
-o generated/zsh/_example \
zsh example.yaml
$(CRAZY_COMPLETE) \
--inherit-options=True \
--zsh-compdef=False \
-o generated/zsh/example.sourceable \
zsh example.yaml
clean:
rm -rf generated
|