install spacevim from our own
This commit is contained in:
parent
ba1db53547
commit
7df185de08
11
Rakefile
11
Rakefile
@ -66,10 +66,19 @@ end
|
||||
|
||||
desc 'install spacevim and related config files'
|
||||
task :install_spacevim do
|
||||
run 'curl -sLf https://spacevim.org/install.sh | bash'
|
||||
run 'curl -sLf https://spacevim.org/install.sh | sed "s;github.com/SpaceVim;git.ruilisi.com/ruilisi;" | bash'
|
||||
install_files(Dir.glob('SpaceVim*'))
|
||||
end
|
||||
|
||||
desc 'Update spacevim'
|
||||
task :update_spacevim do
|
||||
run %(
|
||||
cd ~/.SpaceVim
|
||||
git remote set-url origin https://git.ruilisi.com/ruilisi/SpaceVim.git
|
||||
git pull --rebase
|
||||
)
|
||||
end
|
||||
|
||||
desc 'Install tools which are necessary for developers'
|
||||
task :install_tools do
|
||||
if macos?
|
||||
|
Loading…
Reference in New Issue
Block a user