Skip to content
This repository was archived by the owner on Nov 17, 2020. It is now read-only.

Commit 6b0f113

Browse files
committed
rabbitmq-tools.mk: New targets to print Git repoository URLs
They are useful to query the upstream/default Git repository URLs for both fetch and push. [#156874375]
1 parent b3758d8 commit 6b0f113

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

mk/rabbitmq-tools.mk

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@ READY_DEPS = $(foreach DEP,\
44

55
RELEASED_RMQ_DEPS = $(filter $(RABBITMQ_COMPONENTS),$(DEPS) $(BUILD_DEPS))
66

7+
.PHONY: show-upstream-git-fetch-url show-upstream-git-push-url \
8+
show-current-git-fetch-url show-current-git-push-url
9+
10+
show-upstream-git-fetch-url:
11+
@echo $(RABBITMQ_UPSTREAM_FETCH_URL)
12+
13+
show-upstream-git-push-url:
14+
@echo $(RABBITMQ_UPSTREAM_PUSH_URL)
15+
16+
show-current-git-fetch-url:
17+
@echo $(RABBITMQ_CURRENT_FETCH_URL)
18+
19+
show-current-git-push-url:
20+
@echo $(RABBITMQ_CURRENT_PUSH_URL)
21+
722
.PHONY: update-erlang-mk update-rabbitmq-components.mk
823

924
update-erlang-mk: erlang-mk

0 commit comments

Comments
 (0)