代码拉取完成,页面将自动刷新
ZPLUG_ROOT := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
SHOVE_URL := https://github.com/key-amb/shove
SHOVE_DIR := $(ZPLUG_ROOT)/.gitignore.d/shove
TEST_TARGET ?= test
.DEFAULT_GOAL := help
.PHONY: all install shove test release help
all:
install: ## Install zplug to your machine
shove: # Grab shove from GitHub and grant execution
@if [ ! -d $(SHOVE_DIR) ]; then \
git clone $(SHOVE_URL) $(SHOVE_DIR); \
chmod 755 $(SHOVE_DIR)/bin/shove; \
fi
test: shove ## Unit test for zplug
ZPLUG_ROOT=$(ZPLUG_ROOT) $(SHOVE_DIR)/bin/shove -r $(TEST_TARGET) -s zsh
release: ## Create new GitHub Releases
@zsh $(ZPLUG_ROOT)/misc/dev/release.zsh
help: ## Self-documented Makefile
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) \
| sort \
| awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。