Updated to use spacemacs master.
This commit is contained in:
parent
108e72b794
commit
048141c771
|
@ -9,7 +9,7 @@ install: | init update
|
|||
|
||||
init:
|
||||
ifndef IS_SSH
|
||||
$(info Remote connection. Not installing emacs.)
|
||||
$(info Remote connection. Not installing emacs config.)
|
||||
else ifneq ($(call cmd_exist,emacs), true)
|
||||
$(info Emacs not installed )
|
||||
else
|
||||
|
@ -20,12 +20,19 @@ endif
|
|||
|
||||
spacemacs_init:
|
||||
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
|
||||
$(report) warn "$(EMACSD) already exist. Skipping."
|
||||
$(report) info "$(EMACSD) already exist. Skipping."
|
||||
endif
|
||||
|
||||
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:
|
||||
$(info => Removing Emacs config)
|
||||
|
|
Loading…
Reference in New Issue
Block a user