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
|
.PHONY: default clean nixos home /etc/nixos/config
|
||||||
|
|
||||||
default: $(SUBMODULES)
|
default: $(SUBMODULES)
|
||||||
git submodule foreach git pull --ff-only
|
git submodule update
|
||||||
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
|
||||||
bat cache --build
|
bat cache --build
|
||||||
|
|
Loading…
Reference in a new issue