Sha256: 5905a91fdc38ae83bf237c6eabc8aa959651d85f1d4a4559778e490530e2c76a

Contents?: true

Size: 412 Bytes

Versions: 2

Compression:

Stored size: 412 Bytes

Contents

module Vim
  module Jar 
    module Installer  
      module Git
        def install_to(source, output_path)
          Dir.chdir(config.vim_home)
          system("git submodule add #{source} #{Pathname.new(output_path).relative_path_from(config.vim_home)}")
          system("git submodule init")
        end

        def config 
          ::Vim::Jar::Config.instance 
        end
      end
    end
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vim-jar-0.0.2 lib/vim-jar/installer/git.rb
vim-jar-0.0.1 lib/vim-jar/installer/git.rb