Files
texlive-action/compile.sh

18 lines
272 B
Bash
Executable File

#!/bin/sh
set -e
files="$1"
compiler="$2"
options="$3"
for f in $files; do
if [-f "$f" ]; then
echo "Compiling '$f'.."
$compiler $options $f
$compiler $options $f # Run twice to make sure everything is OK
else
echo "'$f' not found!"
fi
done