installs from git before updating plugins.txt
parent
6ee1382fcf
commit
92f5cc73fe
3
rakefile
3
rakefile
|
|
@ -43,14 +43,13 @@ namespace :vim do
|
||||||
task :install, [:sourceName] do |t, args|
|
task :install, [:sourceName] do |t, args|
|
||||||
raise "Must specify git repo to pull from." unless args.sourceName not(nil)
|
raise "Must specify git repo to pull from." unless args.sourceName not(nil)
|
||||||
source = "git://github.com/#{args.sourceName}.git"
|
source = "git://github.com/#{args.sourceName}.git"
|
||||||
|
Rake::Task['vim:loadPlugin'].invoke source
|
||||||
puts "Adding to #{vimFolder}/plugins.txt"
|
puts "Adding to #{vimFolder}/plugins.txt"
|
||||||
File.open pluginsFile, 'a' do |file|
|
File.open pluginsFile, 'a' do |file|
|
||||||
file.puts "#{source}\n"
|
file.puts "#{source}\n"
|
||||||
end
|
end
|
||||||
Rake::Task['vim:loadPlugin'].invoke source
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def gitName(gitRepo)
|
def gitName(gitRepo)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue