Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ot handle bianry files.
  • Loading branch information...
commit c108fd69dce26a002a269ea0ae6287beb61744c8 1 parent f326d83
@xbot authored
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
21 Makefile
@@ -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
3  README.mkd
@@ -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
6 build.vim
@@ -1,6 +0,0 @@
-:let g:vimball_home = "."
-:e Makefile
-:v/^SOURCE/d
-:%s/^SOURCE\s\++\?=\s\+//
-:execute '%MkVimball!' . g:plugin_name
-:q!
View
6 make.sh
@@ -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 -
Please sign in to comment.
Something went wrong with that request. Please try again.