install ycm after installed
This commit is contained in:
parent
8dc8fbb97d
commit
d2599fa18a
15
Rakefile
15
Rakefile
@ -2,10 +2,6 @@ require 'rake'
|
|||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
require File.join(File.dirname(__FILE__), 'bin', 'yadr', 'vundle')
|
require File.join(File.dirname(__FILE__), 'bin', 'yadr', 'vundle')
|
||||||
|
|
||||||
task :try do
|
|
||||||
puts RUBY_PLATFORM
|
|
||||||
end
|
|
||||||
|
|
||||||
desc "Hook our dotfiles into system-standard positions."
|
desc "Hook our dotfiles into system-standard positions."
|
||||||
task :install => [:submodule_init, :submodules] do
|
task :install => [:submodule_init, :submodules] do
|
||||||
puts
|
puts
|
||||||
@ -29,6 +25,8 @@ task :install => [:submodule_init, :submodules] do
|
|||||||
Rake::Task["install_vundle"].execute
|
Rake::Task["install_vundle"].execute
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Rake::Task["install_ycm"].execute
|
||||||
|
|
||||||
Rake::Task["install_prezto"].execute
|
Rake::Task["install_prezto"].execute
|
||||||
|
|
||||||
install_fonts
|
install_fonts
|
||||||
@ -46,6 +44,15 @@ task :install_prezto do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
task :install_ycm do
|
||||||
|
if want_to_install?('YouCompleteMe')
|
||||||
|
run %{
|
||||||
|
cd $HOME/.vim/bundle/YouCompleteMe/
|
||||||
|
./install.sh
|
||||||
|
}
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
desc 'Updates the installation'
|
desc 'Updates the installation'
|
||||||
task :update do
|
task :update do
|
||||||
Rake::Task["vundle_migration"].execute if needs_migration_to_vundle?
|
Rake::Task["vundle_migration"].execute if needs_migration_to_vundle?
|
||||||
|
Loading…
Reference in New Issue
Block a user