Skip to content
Browse files

Use vimball.rb to produce Vimball

One less thing to set up when developing on a different machine: instead
of having to find and build or install the mkvimball executable, we can
use the vendored vimball.rb script to do build the Vimball.

The world would be a better place if everyone used Pathogen, but if the
Vimball creation process is automated then there's no reason not to
continue doing it for now.

Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information...
1 parent 7a15437 commit 56d863e10a03d6d02e68db3a52eeb3ef42de1ae1 @wincent committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 Makefile
View
6 Makefile
@@ -7,8 +7,10 @@ vimfiles := $(shell find plugin -name '*.vim')
vimball: command-t.vba
-command-t.vba: $(rubyfiles) $(cfiles) $(cheaders) $(depends) $(txtfiles) $(vimfiles)
- mkvimball $(basename $@) $^
+command-t.recipe: $(rubyfiles) $(cfiles) $(cheaders) $(depends) $(txtfiles) $(vimfiles)
+ echo "$^" | perl -pe 's/ /\n/g' > $@
+command-t.vba: command-t.recipe
+ vendor/vimball/vimball.rb -d . -b . vba $^
.PHONY: spec
spec:

0 comments on commit 56d863e

Please sign in to comment.
Something went wrong with that request. Please try again.