aboutsummaryrefslogtreecommitdiff
path: root/create-package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create-package.sh')
-rwxr-xr-xcreate-package.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/create-package.sh b/create-package.sh
new file mode 100755
index 0000000..cf0f688
--- /dev/null
+++ b/create-package.sh
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+git archive --format=tar -o r7r.tar master
+mkdir -p package/Ratatoeskr
+mv r7r.tar package/Ratatoeskr
+cd package/Ratatoeskr
+tar xf r7r.tar
+rm r7r.tar
+mkdir -p images/previews
+cd ratatoeskr/
+mkdir plugin_extradata/public
+mkdir templates/src/plugintemplates
+mkdir templates/transc
+cd libs
+wget https://raw.github.com/kch42/Stupid-Template-Engine/master/stupid_template_engine.php
+wget http://michelf.com/docs/projets/php-markdown-1.0.1o.zip
+unzip php-markdown-*.zip
+mv PHP\ Markdown\ */markdown.php .
+rm -rf PHP\ Markdown\ *
+rm php-markdown-*.zip
+wget http://sourceforge.net/projects/kses/files/latest/download
+unzip kses-*.zip
+mv kses-*/kses.php .
+rm -rf kses-*
+rm kses-*.zip
+cd ../..
+rm session_doctor.php
+cd ..
+zip -r Ratatoeskr.zip Ratatoeskr