1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:50:03 +08:00
SpaceVim/bundle/helpful.vim/Makefile

14 lines
369 B
Makefile

.PHONY: update auto
update:
cd support && python difftags.py
auto:
-test "master" = "$$(git rev-parse --abbrev-ref HEAD)" \
&& python3 support/difftags.py \
&& test " M data/tags" = "$$(git status --porcelain | grep 'data/tags')" \
&& git add data doc \
&& git commit -m "Auto-updated tags $$(date --rfc-3339=seconds)" \
&& git push
git checkout -- doc/