mirror of
https://github.com/zhigang1992/npm.git
synced 2026-05-28 23:51:28 +08:00
Update submodules recursively in make
This commit is contained in:
2
Makefile
2
Makefile
@@ -11,7 +11,7 @@ doc_subfolders = $(shell find doc -type d \
|
||||
# Since 'make' typically does non-installation build stuff,
|
||||
# it seems appropriate.
|
||||
submodules:
|
||||
! [ -d .git ] || git submodule update --init
|
||||
! [ -d .git ] || git submodule update --init --recursive
|
||||
|
||||
latest: submodules
|
||||
@echo "Installing latest published npm"
|
||||
|
||||
Reference in New Issue
Block a user