Pull submodules when making
This commit is contained in:
parent
6dbfbdc03c
commit
0775e886d1
1
Makefile
1
Makefile
|
@ -9,6 +9,7 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar
|
||||||
default: $(SUBMODULES)
|
default: $(SUBMODULES)
|
||||||
command -v nix > /dev/null || exit 1
|
command -v nix > /dev/null || exit 1
|
||||||
[ -e /etc/nixos/ ] && make nixos || make home
|
[ -e /etc/nixos/ ] && make nixos || make home
|
||||||
|
git submodule foreach git pull --ff-only
|
||||||
bat cache --build
|
bat cache --build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue