Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (50 sloc) 1.31 KB
declare pkg_name=markdown
declare pkg_base=$(dirname "$0")
declare pkg_version=$(git tag | sort | tail -n 1)
declare pkg_file="${pkg_name}-${pkg_version#v}.vba"
GLOB=(ftdetect/* snippets/* syntax/*)
source manifest.bk
source version.bk
desc package "Create ${pkg_file}.gz"
task package {
test -f ${pkg_file} && rm ${pkg_file}
test -f ${pkg_file}.* && rm ${pkg_file}.*
status "Creating package"
vim Manifest +":%MkVimball! ${pkg_file} ." +":q"
gzip ${pkg_file}
desc pkgtest "Create a VBA test package"
task pkgtest {
invoke package
desc install "Install vimball in ${HOME}/.vim/"
task install {
invoke package
status "Intalling ${pkg_file}"
vim ${pkg_file}.gz +":source %" +":q" &> /dev/null
desc doc "Build documentation"
task doc {
status "Building documentation"
run markdown -f toc -T -o README.html README.mkd
task push {
news="github codaset"
hosts="origin github codaset"
desc push:news "Push all changes to hosts"
task push:news {
status "Pushing new changes to ${news// /, }"
for remote in ${news}; do
run git push $remote news
desc push:release "Push a new release to hosts"
task push:release {
status "Pushing new release to ${hosts// /, }"
for remote in ${hosts}; do
git push --tags $remote master
# vim: filetype=sh
Jump to Line
Something went wrong with that request. Please try again.