A tree explorer plugin for vim.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
429 B

16 years ago
  1. desc "Copy the vim/doc files into ~/.vim"
  2. task :deploy_local do
  3. run "cp plugin/NERD_tree.vim ~/.vim/plugin"
  4. run "cp doc/NERD_tree.txt ~/.vim/doc"
  5. end
  6. desc "Create a zip archive for release to vim.org"
  7. task :zip do
  8. abort "NERD_tree.zip already exists, aborting" if File.exist?("NERD_tree.zip")
  9. run "zip NERD_tree.zip plugin/NERD_tree.vim doc/NERD_tree.txt"
  10. end
  11. def run(cmd)
  12. puts "Executing: #{cmd}"
  13. system cmd
  14. end