feat: sync the Makefile with other projects
This commit is contained in:
parent
a70e7d949b
commit
b8e9ae70cf
1 changed files with 10 additions and 3 deletions
13
Makefile
13
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue