Skip to content
Snippets Groups Projects
Verified Commit 0dce70f1 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

i wanna sleep

parent 58418324
No related branches found
No related tags found
No related merge requests found
...@@ -46,5 +46,9 @@ Get-ChildItem -Recurse "projlab" | ...@@ -46,5 +46,9 @@ Get-ChildItem -Recurse "projlab" |
} }
Remove-Item -path "$jarfile" 2>$null Remove-Item -path "$jarfile" 2>$null
Remove-Item -path META-INF -recurse
mv META-INF.bak META-INF
jar cfm "$jarfile" META-INF/MANIFEST.MF projlab/*.class projlab/commands/*.class jar cfm "$jarfile" META-INF/MANIFEST.MF projlab/*.class projlab/commands/*.class
echo "Successfully built $jarfile" echo "Successfully built $jarfile"
...@@ -9,10 +9,15 @@ if [ "$0" != "/tmp/merge/merge.sh" ]; then ...@@ -9,10 +9,15 @@ if [ "$0" != "/tmp/merge/merge.sh" ]; then
exec /tmp/merge/merge.sh exec /tmp/merge/merge.sh
fi fi
if [ -d lines ]; then
cp -r docs/lines /tmp/
fi
hash="$(git rev-parse HEAD)" hash="$(git rev-parse HEAD)"
for week in 2 3 4 5 6 7 9 10 11 13 14; do for week in 7 11 2 3 4 5 6 9 10 13 14; do
echo "week $week incoming..." echo "week $week incoming..."
git reset --hard
git clean -fd git clean -fd
git checkout "w${week}" git checkout "w${week}"
...@@ -20,6 +25,10 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do ...@@ -20,6 +25,10 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
bash -c "cd ..; /tmp/merge/build.sh" bash -c "cd ..; /tmp/merge/build.sh"
fi fi
if [ "$week" = "14" ]; then
cp -r /tmp/lines docs/
fi
plab classdiag ../src plab classdiag ../src
plantuml -tlatex:nopreamble /tmp/projlabclasses.txt plantuml -tlatex:nopreamble /tmp/projlabclasses.txt
sed -i 's/#/\\#/g' /tmp/projlabclasses.latex sed -i 's/#/\\#/g' /tmp/projlabclasses.latex
...@@ -32,7 +41,9 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do ...@@ -32,7 +41,9 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
fi fi
plab flatten weeks/${weektmp}.tex includes/misc-functions.tex /tmp/merge/${weektmp}.tex plab flatten weeks/${weektmp}.tex includes/misc-functions.tex /tmp/merge/${weektmp}.tex
git reset --hard "w${week}" cp /tmp/projlabclasses.latex "/tmp/projlabclasses-${weektmp}.latex"
sed "s/\\/tmp\\/projlabclasses/\\/tmp\\/projlabclasses-${weektmp}/g" -i /tmp/merge/${weektmp}.tex
done done
git checkout "$hash" git checkout "$hash"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment