Change submodule pull to submodule update in make
This commit is contained in:
parent
c58a3ec4cc
commit
3eb36b9f02
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar
|
|||
.PHONY: default clean nixos home /etc/nixos/config
|
||||
|
||||
default: $(SUBMODULES)
|
||||
git submodule foreach git pull --ff-only
|
||||
git submodule update
|
||||
command -v nix > /dev/null || exit 1
|
||||
[ -e /etc/nixos/ ] && make nixos || make home
|
||||
bat cache --build
|
||||
|
|
Loading…
Reference in a new issue