|
|
post-update - ics2txt - convert icalendar .ics file to plain text |
|
|
 |
git clone git://bitreich.org/ics2txt git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ics2txt (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
|
--- |
|
|
|
post-update (372B) |
|
|
|
--- |
|
|
|
1 #!/bin/sh -ex |
|
|
|
2 trap 'rm -rf "$tmp"' INT TERM EXIT HUP |
|
|
|
3 tmp=$(git-hooks-workdir "$@") |
|
|
|
4 |
|
|
|
5 cd "$tmp/doc" |
|
|
|
6 notwiki-doc html /srv/http/vhost/code/ics2txt . |
|
|
|
7 notwiki-doc gph /srv/gopher/ics2txt . |
|
|
|
8 notwiki-mandoc html html /srv/http/vhost/code/man . |
|
|
|
9 notwiki-mandoc gph utf8 /srv/gopher/man . |
|
|
|
10 |
|
|
|
11 cd "$tmp" |
|
|
|
12 make dist |
|
|
|
13 cp *.tar.gz /srv/http/vhost/code/ics2txt |
|
|
|
14 cp *.tar.gz /srv/gopher/ics2txt |
|