Skip to content
Snippets Groups Projects
Commit b7812315 authored by schmittu's avatar schmittu :beer:
Browse files

update_installer.sh also removes cells with tag TODO

parent 4641b3b0
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ SCP_TARGET=${REMOTE_LOGIN}:${REMOTE_WEB_FOLDER}
# end of user settings, edits from here on only if you know what you do.
LOCAL_BUILD_FOLDER=/tmp/installer-build-tmp/
LOCAL_BUILD_FOLDER=$(pwd)/build
# create fresh folder structure to build archive with notebooks
rm -rf ${LOCAL_BUILD_FOLDER}
......@@ -40,10 +40,12 @@ for NOTEBOOK in ${NOTEBOOKS}; do
echo process ${NOTEBOOK}
TARGET=${LOCAL_BUILD_FOLDER}/course/${NOTEBOOK}
nb-filter-cells -i $NOTEBOOK -t solution -o ${TARGET}
echo ${TARGET}
nb-filter-cells -i $NOTEBOOK -t solution | nb-filter-cells -t TODO -o ${TARGET}
TARGET=${LOCAL_BUILD_FOLDER}/solutions/${NOTEBOOK%.ipynb}-with-solutions.ipynb
cp $NOTEBOOK ${TARGET}
nb-filter-cells -i $NOTEBOOK -t TODO -o ${TARGET}
# cp $NOTEBOOK ${TARGET}
done
echo scp graphics
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment