aboutsummaryrefslogtreecommitdiff
path: root/pack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xpack15
1 files changed, 15 insertions, 0 deletions
diff --git a/pack b/pack
new file mode 100755
index 0000000..7f5556f
--- /dev/null
+++ b/pack
@@ -0,0 +1,15 @@
1#!/bin/bash
2FILES="makefile HISTORY test.lua re.lua lpeg.html re.html lpeg-128.gif \
3 lptypes.h lpcap.h lpcap.c lpcode.h lpcode.c lpprint.h lpprint.c \
4 lptree.h lptree.c lpvm.h lpvm.c"
5NAME=lpeg-$1
6DIRN=versions/$NAME
7mkdir $DIRN
8co $FILES
9mv $FILES $DIRN
10cd versions
11tar --create --gzip --file=$NAME.tar.gz $NAME
12# scp $NAME.tar.gz obaluae:public_html/lpeg/
13# ssh obaluae "rm public_html/lpeg/*.html"
14cd $NAME
15# scp *.html obaluae:public_html/lpeg/