auto commit on build
Makefile
This commit is contained in:
parent
a0c5ca19bc
commit
bf8face9e2
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -8,7 +8,7 @@ endif
|
||||||
ifeq ($(HOST),)
|
ifeq ($(HOST),)
|
||||||
$(error HOST not set)
|
$(error HOST not set)
|
||||||
endif
|
endif
|
||||||
ifneq (`git diff`,)
|
ifneq ($(shell git diff),)
|
||||||
git add .
|
git add .
|
||||||
git commit -m "auto commit on build" -m "`PAGER=cat git diff --name-only --cached`"
|
git commit -m "auto commit on build" -m "`PAGER=cat git diff --name-only --cached`"
|
||||||
endif
|
endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue