Added script for generating the archive
This commit is contained in:
22
build.sh
Executable file
22
build.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
mkdir -p archive
|
||||
|
||||
if [ ! -d template_upstream ]; then
|
||||
git clone git@gordon.zumepro.cz:tul/tultemplate2 template_upstream
|
||||
else
|
||||
cd template_upstream
|
||||
git pull
|
||||
cd ..
|
||||
fi
|
||||
|
||||
cp -r \
|
||||
template_upstream/template \
|
||||
template_upstream/citations.bib \
|
||||
template_upstream/Makefile \
|
||||
assignment.pdf \
|
||||
archive
|
||||
|
||||
rm template.zip
|
||||
cd archive
|
||||
zip -r ../template.zip *
|
||||
cd ..
|
||||
|
Reference in New Issue
Block a user