Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (14 sloc) 0.429 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
desc "Copy the vim/doc files into ~/.vim"
task :deploy_local do
  run "cp plugin/NERD_tree.vim ~/.vim/plugin"
  run "cp doc/NERD_tree.txt ~/.vim/doc"
end


desc "Create a zip archive for release to vim.org"
task :zip do
  abort "NERD_tree.zip already exists, aborting" if File.exist?("NERD_tree.zip")
  run "zip NERD_tree.zip plugin/NERD_tree.vim doc/NERD_tree.txt"
end

def run(cmd)
  puts "Executing: #{cmd}"
  system cmd
end

Something went wrong with that request. Please try again.