auto commit on build

Makefile
This commit is contained in:
Squibid 2025-11-10 01:09:50 -05:00
parent a0c5ca19bc
commit bf8face9e2
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -8,7 +8,7 @@ endif
ifeq ($(HOST),)
$(error HOST not set)
endif
ifneq (`git diff`,)
ifneq ($(shell git diff),)
git add .
git commit -m "auto commit on build" -m "`PAGER=cat git diff --name-only --cached`"
endif