Switched to upstream's build system in the build script
This commit is contained in:
19
build.sh
19
build.sh
@@ -14,18 +14,25 @@ curl "https://stag.tul.cz/StagPortletsJSR168/ProhlizeniPrint?stateClass=cz.zcu.s
|
|||||||
}]
|
}]
|
||||||
}] | from_entries' >> programmes.js
|
}] | from_entries' >> programmes.js
|
||||||
|
|
||||||
if [ ! -d template_upstream ]; then
|
TEMPLATE=template_upstream
|
||||||
git clone git@gordon.zumepro.cz:tul/tultemplate2 template_upstream
|
|
||||||
|
if [ ! -d $TEMPLATE ]; then
|
||||||
|
git clone git@gordon.zumepro.cz:tul/tultemplate2 $TEMPLATE
|
||||||
else
|
else
|
||||||
cd template_upstream
|
cd $TEMPLATE
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
TEMPLATE_PACKDIR=$TEMPLATE/pack/bundle
|
||||||
|
|
||||||
|
rm -r $TEMPLATE_PACKDIR
|
||||||
|
cd $TEMPLATE
|
||||||
|
make bundle
|
||||||
|
cd ..
|
||||||
|
|
||||||
cp -r \
|
cp -r \
|
||||||
template_upstream/template \
|
$TEMPLATE_PACKDIR/. \
|
||||||
template_upstream/citations.bib \
|
|
||||||
template_upstream/Makefile \
|
|
||||||
assignment.pdf \
|
assignment.pdf \
|
||||||
archive
|
archive
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user