Makefile: add command for updating lazy.nvim lockfile

This commit is contained in:
Gabriel Arazas 2025-03-14 17:52:12 +08:00
parent 2216d4467c
commit 1ddbee6ecb

View File

@ -20,3 +20,7 @@ update:
.PHONY: dry-run .PHONY: dry-run
dry-run: dry-run:
./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --stow {package} --target {location} --simulate" ./vtsm --manifest ".vtsm/${MANIFEST}.json" --commands "stow --stow {package} --target {location} --simulate"
.PHONY: nvim-lockfile-update
nvim-lockfile-update:
git checkout -- ./nvim/lazy-lock.json && nvim --headless "+Lazy! sync" "+qa" && git commit --message "nvim: update lazy.nvim lockfile as of $(shell date "+%F")" -- ./nvim/lazy-lock.json