Updated to use spacemacs master.

This commit is contained in:
James Patrick 2019-08-04 17:08:04 -04:00
parent 108e72b794
commit 048141c771

View File

@ -9,7 +9,7 @@ install: | init update
init: init:
ifndef IS_SSH ifndef IS_SSH
$(info Remote connection. Not installing emacs.) $(info Remote connection. Not installing emacs config.)
else ifneq ($(call cmd_exist,emacs), true) else ifneq ($(call cmd_exist,emacs), true)
$(info Emacs not installed ) $(info Emacs not installed )
else else
@ -20,12 +20,19 @@ endif
spacemacs_init: spacemacs_init:
ifeq ($(shell [ ! -e $(EMACSD) ] $(return_val_truthy) ), true) ifeq ($(shell [ ! -e $(EMACSD) ] $(return_val_truthy) ), true)
git clone $(SPACEMACS_URL) $(EMACSD) ; $(report) "Spacemacs installed" git clone -b develop --single-branch $(SPACEMACS_URL) $(EMACSD) ; $(report) "Spacemacs installed"
else else
$(report) warn "$(EMACSD) already exist. Skipping." $(report) info "$(EMACSD) already exist. Skipping."
endif endif
update: update:
ifeq ($(shell [ -e $(EMACSD) ] $(return_val_truthy) ), true)
cd $(EMACSD) \
&& git pull \
; $(report) "Spacemacs updated"
else
$(report) info "Emacs directory doesn't exist."
endif
remove: remove:
$(info => Removing Emacs config) $(info => Removing Emacs config)