Permalink
Browse files

Use make.sh to create zip package for UltraBlog.vim, for vimball cann…

…ot handle bianry files.
  • Loading branch information...
xbot committed Apr 15, 2012
1 parent f326d83 commit c108fd69dce26a002a269ea0ae6287beb61744c8
Showing with 8 additions and 28 deletions.
  1. +0 −21 Makefile
  2. +2 −1 README.mkd
  3. +0 −6 build.vim
  4. +6 −0 make.sh
View
@@ -1,21 +0,0 @@
-PLUGIN = UltraBlog
-
-SOURCE = plugin/UltraBlog.vim
-SOURCE += doc/UltraBlog.txt
-SOURCE += plugin/ultrablog/__init__.py
-SOURCE += plugin/ultrablog/commands.py
-SOURCE += plugin/ultrablog/db.py
-SOURCE += plugin/ultrablog/eventqueue.py
-SOURCE += plugin/ultrablog/events.py
-SOURCE += plugin/ultrablog/exceptions.py
-SOURCE += plugin/ultrablog/listeners.py
-SOURCE += plugin/ultrablog/util.py
-
-${PLUGIN}.vmb: ${SOURCE}
- vim --cmd 'let g:plugin_name="${PLUGIN}"' -s build.vim
-
-install:
- rsync -Rv ${SOURCE} ${HOME}/.vim/
-
-clean:
- rm ${PLUGIN}.vmb
View
@@ -14,12 +14,13 @@ Enjoy Vim blogging !
Features
--------
-* Event-driven system.
* Multiple syntax support: Markdown, HTML, reStructuredText, LaTeX, Textile.
* Editor mode and client mode.
* Data is stored in a local SQLite database in client mode.
* Context search with keywords highlighting.
* Templates for previewing posts.
+* Event-driven system.
+* I18N.
Tips
--------
View
@@ -1,6 +0,0 @@
-:let g:vimball_home = "."
-:e Makefile
-:v/^SOURCE/d
-:%s/^SOURCE\s\++\?=\s\+//
-:execute '%MkVimball!' . g:plugin_name
-:q!
View
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+basedir=`dirname $0`
+cd $basedir
+apack UltraBlog.zip doc/UltraBlog.txt plugin/UltraBlog.vim plugin/ultrablog/*.py plugin/locale/{en_US,zh_CN}
+cd -

0 comments on commit c108fd6

Please sign in to comment.