]> git.stg.codes - stg.git/commitdiff
Додано утиліту генерації архіву з джерельними кодами
authorMaxim Mamontov <faust.madf@gmail.com>
Sat, 18 Dec 2010 15:00:16 +0000 (17:00 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Sat, 18 Dec 2010 15:00:16 +0000 (17:00 +0200)
projects/make_tarball/make.sh [new file with mode: 0755]

diff --git a/projects/make_tarball/make.sh b/projects/make_tarball/make.sh
new file mode 100755 (executable)
index 0000000..e072c57
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+SRC_DIR=stg-2.4-`date "+%Y.%m.%d-%H.%M.%S"`
+ARC_NAME=$SRC_DIR.tar.gz
+
+git clone git://madf.dyndns.org/stg.git $SRC_DIR
+
+rm -r $SRC_DIR/.git
+rm -r $SRC_DIR/projects/make_tarball
+rm -r $SRC_DIR/projects/traffcounter
+rm -r $SRC_DIR/projects/stargazer/plugins/other/userstat
+rm -r $SRC_DIR/projects/stargazer/plugins/authorization/stress
+rm -r $SRC_DIR/projects/stargazer/plugins/store/db
+
+tar -zcf $arc_name $src_dir