Mercurial > dotfiles
comparison .zfun/zsh-autosuggestions/Makefile @ 467:e1ce8897030d
zsh: import df6f6f9ff41 of zsh-autosuggestions
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Mon, 03 Dec 2018 22:37:29 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
466:f248cf012d9a | 467:e1ce8897030d |
---|---|
1 SRC_DIR := ./src | |
2 | |
3 SRC_FILES := \ | |
4 $(SRC_DIR)/setup.zsh \ | |
5 $(SRC_DIR)/config.zsh \ | |
6 $(SRC_DIR)/util.zsh \ | |
7 $(SRC_DIR)/features.zsh \ | |
8 $(SRC_DIR)/bind.zsh \ | |
9 $(SRC_DIR)/highlight.zsh \ | |
10 $(SRC_DIR)/widgets.zsh \ | |
11 $(SRC_DIR)/strategies/*.zsh \ | |
12 $(SRC_DIR)/fetch.zsh \ | |
13 $(SRC_DIR)/async.zsh \ | |
14 $(SRC_DIR)/start.zsh | |
15 | |
16 HEADER_FILES := \ | |
17 DESCRIPTION \ | |
18 URL \ | |
19 VERSION \ | |
20 LICENSE | |
21 | |
22 PLUGIN_TARGET := zsh-autosuggestions.zsh | |
23 | |
24 all: $(PLUGIN_TARGET) | |
25 | |
26 $(PLUGIN_TARGET): $(HEADER_FILES) $(SRC_FILES) | |
27 cat $(HEADER_FILES) | sed -e 's/^/# /g' > $@ | |
28 cat $(SRC_FILES) >> $@ | |
29 | |
30 .PHONY: clean | |
31 clean: | |
32 rm $(PLUGIN_TARGET) | |
33 | |
34 .PHONY: test | |
35 test: all | |
36 @test -n "$$TEST_ZSH_BIN" && echo "Testing zsh binary: $(TEST_ZSH_BIN)" || true | |
37 bundle exec rspec $(TESTS) |