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'
|
desc 'install spacevim and related config files'
|
||||||
task :install_spacevim do
|
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*'))
|
install_files(Dir.glob('SpaceVim*'))
|
||||||
end
|
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'
|
desc 'Install tools which are necessary for developers'
|
||||||
task :install_tools do
|
task :install_tools do
|
||||||
if macos?
|
if macos?
|
||||||
|
Loading…
Reference in New Issue
Block a user