new Make target: show-deps
This commit is contained in:
parent
1c9feb0d66
commit
1c26934d98
|
@ -10,6 +10,12 @@ GNU Make, Bash and the usual POSIX utilities.
|
|||
|
||||
`make USE_SYSTEM_NIM=1 test`
|
||||
|
||||
## Make targets
|
||||
|
||||
### show-deps
|
||||
|
||||
Lists all Git submodule URLs, including nested ones.
|
||||
|
||||
## License
|
||||
|
||||
Licensed and distributed under either of
|
||||
|
|
|
@ -146,6 +146,12 @@ ctags:
|
|||
--exclude=$(REPOS_DIR)/nim-bncurve/tests/tvectors.nim \
|
||||
.
|
||||
|
||||
# list all Git submodule URLs, including the nested ones
|
||||
show-deps:
|
||||
{ git config --file .gitmodules --get-regexp url | cat ;\
|
||||
git submodule foreach --quiet --recursive '[[ -f .gitmodules ]] && git config --file .gitmodules --get-regexp url | cat || true'; } \
|
||||
| cut -d ' ' -f 2 | sort -u
|
||||
|
||||
############################
|
||||
# Windows-specific section #
|
||||
############################
|
||||
|
|
Loading…
Reference in New Issue