Change submodule pull to submodule update in make

This commit is contained in:
Evie Litherland-Smith 2023-06-03 09:53:26 +01:00
parent c58a3ec4cc
commit 3eb36b9f02

View file

@ -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