Skip to content

Commit

Permalink
chore: remove superfluous info
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Aug 28, 2023
1 parent 80ee993 commit 188f7af
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ IFS=' ' read -r -a args <<<"$args"

if [[ "$compiler" = "latexmk" ]]; then
if [[ "$latexmk_shell_escape" = "true" ]]; then
info "Option latexmk_shell_escape is enabled."
args+=("-shell-escape")
fi

Expand All @@ -77,7 +76,6 @@ if [[ "$compiler" = "latexmk" ]]; then
fi

if [[ "$latexmk_use_lualatex" = "true" ]]; then
info "Option latexmk_use_lualatex is enabled."
for i in "${!args[@]}"; do
if [[ "${args[i]}" = "-pdf" ]]; then
unset 'args[i]'
Expand All @@ -96,7 +94,6 @@ if [[ "$compiler" = "latexmk" ]]; then
fi

if [[ "$latexmk_use_xelatex" = "true" ]]; then
info "Option latexmk_use_xelatex is enabled."
for i in "${!args[@]}"; do
if [[ "${args[i]}" = "-pdf" ]]; then
unset 'args[i]'
Expand Down Expand Up @@ -161,7 +158,6 @@ for f in "${root_file[@]}"; do
fi

if [[ "$work_in_root_file_dir" = "true" ]]; then
info "Option work_in_root_file_dir is enabled."
pushd "$(dirname "$f")" >/dev/null
f="$(basename "$f")"
info "Compile $f in $PWD"
Expand All @@ -176,7 +172,6 @@ for f in "${root_file[@]}"; do
"$compiler" "${args[@]}" "$f" || ret="$?"
if [[ "$ret" -ne 0 ]]; then
if [[ "$continue_on_error" = "true" ]]; then
info "Option continue_on_error is enabled."
exit_code="$ret"
else
exit "$ret"
Expand Down

0 comments on commit 188f7af

Please sign in to comment.