-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (20 loc) · 825 Bytes
/
Makefile
File metadata and controls
25 lines (20 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: def update-registry update-fixtures submodule-status init-submodules
def: update-registry update-fixtures
update-registry:
@echo "Updating cosmos/chain-registry submodule to latest"
git submodule update --remote --init --recursive repos/chain-registry
update-fixtures:
@echo "Updating chain-registry/chain-registry-fixtures submodule"
git submodule update --remote --init --recursive repos/chain-registry-fixtures
submodule-status:
@echo "Checking submodule statuses..."
@cd repos/chain-registry && \
echo "Last 2 commits in repos/chain-registry:" && \
git log -n 2 --oneline && \
cd - >/dev/null
@cd repos/chain-registry-fixtures && \
echo "Last 2 commits in repos/chain-registry-fixtures:" && \
git log -n 2 --oneline && \
cd - >/dev/null
init-submodules:
git submodule update --init --recursive