feat: sync the Makefile with other projects

This commit is contained in:
Krzysztof Sikorski 2024-05-05 10:56:17 +02:00
parent a70e7d949b
commit b8e9ae70cf
Signed by: krzysztof-sikorski
GPG key ID: 4EB564BD08FE8476

View file

@ -3,10 +3,17 @@ SHELL := /bin/sh
.SUFFIXES: # no special suffixes
.DEFAULT_GOAL := default
# dummy entry to force make to do nothing by default
.PHONY: default
default:
@echo "Please choose target explicitly."
.PHONY: git_push_all
git_push_all:
git remote | xargs -L1 git push --verbose --all
# git helper: push current branch to configured remotes
.PHONY: git_push_current_branch
git_push_current_branch:
git remote | xargs -L1 git push --verbose
# git helper: push all tags to all configured remotes
.PHONY: git_push_tags
git_push_tags:
git remote | xargs -L1 git push --verbose --tags