Skip to content
This repository
Newer
Older
100644 17 lines (14 sloc) 0.429 kb
92a006f5 »
2008-05-04 some handy utils
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
7
8 desc "Create a zip archive for release to vim.org"
9 task :zip do
10 abort "NERD_tree.zip already exists, aborting" if File.exist?("NERD_tree.zip")
11 run "zip NERD_tree.zip plugin/NERD_tree.vim doc/NERD_tree.txt"
12 end
13
14 def run(cmd)
15 puts "Executing: #{cmd}"
16 system cmd
17 end
18
Something went wrong with that request. Please try again.