Pull submodules when making

This commit is contained in:
Evie Litherland-Smith 2023-05-31 20:48:30 +01:00
parent 6dbfbdc03c
commit 0775e886d1

View file

@ -9,6 +9,7 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar
default: $(SUBMODULES)
command -v nix > /dev/null || exit 1
[ -e /etc/nixos/ ] && make nixos || make home
git submodule foreach git pull --ff-only
bat cache --build
clean: