editor/emacs: no longer use Cask
This commit is contained in:
parent
e5325b9db2
commit
307d66d619
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
case "$OSTYPE" in
|
case "$OSTYPE" in
|
||||||
darwin*)
|
darwin*)
|
||||||
brew install cask python
|
|
||||||
brew tap railwaycat/emacsmacport
|
brew tap railwaycat/emacsmacport
|
||||||
brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD
|
brew install emacs-mac --with-imagemagick --with-modern-icon --HEAD
|
||||||
;;
|
;;
|
||||||
|
@ -12,15 +11,11 @@ case "$OSTYPE" in
|
||||||
elif [[ -f /etc/debian_version ]]; then
|
elif [[ -f /etc/debian_version ]]; then
|
||||||
sudo apt-get install -y make emacs
|
sudo apt-get install -y make emacs
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
if [[ ! -d ~/.cask ]]; then
|
|
||||||
curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
|
|
||||||
fi
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ ! -d "$HOME/.emacs.d" ]]; then
|
if [[ ! -d "$HOME/.emacs.d" ]]; then
|
||||||
git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
|
git clone --recursive "hlissner/.emacs.d" "$HOME/.emacs.d"
|
||||||
cd "$HOME/.emacs.d"
|
cd "$HOME/.emacs.d"
|
||||||
make install
|
make install
|
||||||
make snippets
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
[[ -d ~/.cask ]] && { cd ~/.cask && git pull; }
|
|
||||||
[[ -d ~/.emacs.d ]] && { cd ~/.emacs.d && make update; }
|
[[ -d ~/.emacs.d ]] && { cd ~/.emacs.d && make update; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue