Fix indentation (new editor)
This commit is contained in:
parent
f02e7331d8
commit
6a8c73d412
|
@ -3,24 +3,24 @@ task :emacs => "emacs:update"
|
||||||
|
|
||||||
namespace :emacs do
|
namespace :emacs do
|
||||||
|
|
||||||
task :install do
|
task :install do
|
||||||
Homebrew.install("emacs", "--with-gnutls --cocoa --keep-ctags --srgb")
|
Homebrew.install("emacs", "--with-gnutls --cocoa --keep-ctags --srgb")
|
||||||
Homebrew.install "aspell"
|
Homebrew.install "aspell"
|
||||||
github('hlissner/emacs.d', '~/.emacs.d')
|
github('hlissner/emacs.d', '~/.emacs.d')
|
||||||
end
|
end
|
||||||
|
|
||||||
task :update do
|
task :update do
|
||||||
echo "Updating emacs.d"
|
echo "Updating emacs.d"
|
||||||
sh_safe "cd ~/.emacs.d && git pull"
|
sh_safe "cd ~/.emacs.d && git pull"
|
||||||
|
|
||||||
echo "You'll have to update emacs manually!"
|
echo "You'll have to update emacs manually!"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :remove do
|
task :remove do
|
||||||
echo "Uninstalling emacs"
|
echo "Uninstalling emacs"
|
||||||
Homebrew.remove "emacs"
|
Homebrew.remove "emacs"
|
||||||
Homebrew.remove "aspell"
|
Homebrew.remove "aspell"
|
||||||
rm_rf "~/.emacs.d" if Dir.exists? "~/.emacs.d"
|
rm_rf "~/.emacs.d" if Dir.exists? "~/.emacs.d"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue