1 Star 0 Fork 0

Karl/zplug_clone_from_github

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
b4b4r07 提交于 2017-12-27 16:42 . Add release script
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}'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/karl1864/zplug_clone_from_github.git
git@gitee.com:karl1864/zplug_clone_from_github.git
karl1864
zplug_clone_from_github
zplug_clone_from_github
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385