Pull submodules before updating
This commit is contained in:
parent
13d17e3bad
commit
c58a3ec4cc
2
Makefile
2
Makefile
|
@ -7,9 +7,9 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar
|
||||||
.PHONY: default clean nixos home /etc/nixos/config
|
.PHONY: default clean nixos home /etc/nixos/config
|
||||||
|
|
||||||
default: $(SUBMODULES)
|
default: $(SUBMODULES)
|
||||||
|
git submodule foreach git pull --ff-only
|
||||||
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