vim/bundle/nerdcommenter/Rakefile @ 22a55caedce5
vim: another esc arpeggio
author |
Steve Losh <steve@stevelosh.com> |
date |
Mon, 12 Jul 2010 16:34:29 -0400 |
parents |
24c78d478e36 |
children |
(none) |
desc "Copy the vim/doc files into ~/.vim"
task :deploy_local do
run "cp plugin/NERD_commenter.vim ~/.vim/plugin"
run "cp doc/NERD_commenter.txt ~/.vim/doc"
end
desc "Create a zip archive for release to vim.org"
task :zip do
abort "NERD_commenter.zip already exists, aborting" if File.exist?("NERD_commenter.zip")
run "zip NERD_commenter.zip plugin/NERD_commenter.vim doc/NERD_commenter.txt"
end
def run(cmd)
puts "Executing: #{cmd}"
system cmd
end