Update deployment folders for onPoint-based presentations
This commit is contained in:
parent
627097ecdb
commit
35ed647159
9
deploy.sh
Normal file → Executable file
9
deploy.sh
Normal file → Executable file
@ -5,9 +5,14 @@
|
|||||||
|
|
||||||
dirname=latex-wochenende-$(date +"%Y%m%d%H%M%S")
|
dirname=latex-wochenende-$(date +"%Y%m%d%H%M%S")
|
||||||
|
|
||||||
|
echo "Compiling all slides …"
|
||||||
|
python3 ./onpoint/main.py -i .
|
||||||
|
|
||||||
echo "Creating zip file …"
|
echo "Creating zip file …"
|
||||||
mkdir $dirname
|
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
|
cp -r $i $dirname/$i
|
||||||
done;
|
done;
|
||||||
|
|
||||||
@ -17,4 +22,4 @@ rm -rf $dirname
|
|||||||
echo -n "Enter scp destination: "
|
echo -n "Enter scp destination: "
|
||||||
read destination
|
read destination
|
||||||
scp $dirname.zip $destination
|
scp $dirname.zip $destination
|
||||||
rm $dirname.zip
|
rm $dirname.zip
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user