Skip to content

Commit

Permalink
version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eagletmt committed Mar 31, 2012
1 parent 812aa95 commit 27a8559
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.git* export-ignore
*.md export-ignore
dist.* export-ignore
4 changes: 4 additions & 0 deletions autoload/ghcmod.vim
Original file line number Diff line number Diff line change
Expand Up @@ -409,4 +409,8 @@ function! ghcmod#print_warning(msg)"{{{
echohl None
endfunction"}}}

function! ghcmod#version()"{{{
return [0, 1, 0]
endfunction"}}}

" vim: set ts=2 sw=2 et fdm=marker:
2 changes: 2 additions & 0 deletions dist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec vim -N -u NONE --cmd 'set runtimepath=.' -S dist.vim -c quit
2 changes: 2 additions & 0 deletions dist.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
let s:version = join(ghcmod#version(), '.')
echo system(printf('git archive --prefix=ghcmod-vim-%s/ -o ghcmod-vim-%s.zip v%s', s:version, s:version, s:version))

0 comments on commit 27a8559

Please sign in to comment.