| 1 |
all: |
| 2 |
echo "The only meaningful target is 'apiconsts'" |
| 3 |
|
| 4 |
gitclean: |
| 5 |
git diff-index --quiet --exit-code HEAD |
| 6 |
|
| 7 |
.PHONY: apiconsts |
| 8 |
apiconsts: gitclean |
| 9 |
git submodule update --remote |
| 10 |
go generate |
| 11 |
git commit -am "apiconsts: submodule pull" |