Skip to content

Commit

Permalink
feat: preliminary support for batch compiling
Browse files Browse the repository at this point in the history
the script can already handle that since the refactor, this commit only
add the nessecary mechanics to upload those
  • Loading branch information
fukiame committed Aug 6, 2023
1 parent 44ea868 commit 32036ce
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ cd kernel
bash ../build.sh "$SCRIPTS"

ZIP=$(echo *.zip)
if [ -e $ZIP ]; then
if [[ -e $ZIP ]]; then
for file in $(find . -name '*.zip' -maxdepth 1); do
bash ../tg_utils.sh up "$ZIP" ""
done
else
bash ../tg_utils.sh up "out/error.log" ""
bash ../tg_utils.sh up "out/error.log" ""
fi

0 comments on commit 32036ce

Please sign in to comment.