Skip to content

Commit

Permalink
#99 better install latex
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 6, 2023
1 parent 083b8dc commit 09e57b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions steps/install.sh
Expand Up @@ -52,6 +52,7 @@ if ! xmlstarlet --version; then
apt-get install -y xmlstarlet
fi

tlmgr option repository ctan
tlmgr --verify-repo=none update --self
declare -a packages=(href-ul huawei ffcode latexmk fmtcount trimspaces \
libertine paralist makecell footmisc currfile enumitem wrapfig \
Expand Down
3 changes: 2 additions & 1 deletion steps/measure-file.sh
Expand Up @@ -31,6 +31,7 @@ total=$4
start=$(date +%s%N)

mkdir -p "$(dirname "${javam}")"
touch "${javam}"
metrics=$(find "${LOCAL}/metrics/" -type f -exec basename {} \;)
echo "${metrics}" | {
sum=0
Expand All @@ -49,6 +50,6 @@ echo "${metrics}" | {
fi
done
echo "$(echo "${metrics}" | wc -w | xargs) scripts \
collected $(find "${javam}".* -type f | wc -l | xargs) metrics (sum=${sum}) \
collected $(find "$(dirname "${javam}")" -type f -name "$(basename "${javam}").*" | wc -l | xargs) metrics (sum=${sum}) \
for $(basename "${java}") (${pos}/${total})$("${LOCAL}/help/tdiff.sh" "${start}")"
}

0 comments on commit 09e57b8

Please sign in to comment.