From 35ed647159d5a669b198785c225471d453b46807 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Thu, 18 Jun 2020 16:57:02 +0200 Subject: [PATCH] Update deployment folders for onPoint-based presentations --- deploy.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh old mode 100644 new mode 100755 index a7b535f..db6d77b --- a/deploy.sh +++ b/deploy.sh @@ -5,9 +5,14 @@ dirname=latex-wochenende-$(date +"%Y%m%d%H%M%S") +echo "Compiling all slides …" +python3 ./onpoint/main.py -i . + echo "Creating zip file …" mkdir $dirname -for i in css images index.html js lib sections plugin; do +mkdir $dirname/css +mkdir $dirname/onpoint +for i in css/latex.css css/print images slides.de.html slides.en.html js onpoint/onpoint.js lib svg; do cp -r $i $dirname/$i done; @@ -17,4 +22,4 @@ rm -rf $dirname echo -n "Enter scp destination: " read destination scp $dirname.zip $destination -rm $dirname.zip \ No newline at end of file +rm $dirname.zip