Skip to content

Commit

Permalink
#57: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 23, 2024
1 parent 32c3cc0 commit a1e796f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ COPY sass /home/sass
COPY xsl /home/xsl
COPY js /home/js
RUN make --directory=/home --no-silent install
COPY target/saxon.jar /home
RUN make --directory=/home --no-silent target/css/main.css

Check failure on line 55 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.

Check failure on line 55 in Dockerfile

View workflow job for this annotation

GitHub Actions / hadolint

DL3059 info: Multiple consecutive `RUN` instructions. Consider consolidation.
COPY target/css /home/css
COPY target /home/target

ENTRYPOINT ["/home/entry.sh", "/home"]
6 changes: 2 additions & 4 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ if [ -z "${GITHUB_WORKSPACE}" ]; then
exit 1
fi
cd "${GITHUB_WORKSPACE}"
pwd
ls -al

declare -a gopts=()
if [ -n "${INPUT_VERBOSE}" ]; then
Expand Down Expand Up @@ -84,10 +82,10 @@ done <<< "${INPUT_OPTIONS}"
"${JUDGES}" "${gopts[@]}" print --format xml "${INPUT_FACTBASE}" "${INPUT_OUTPUT}/${name}.rich.xml"

# Build a summary HTML.
css=$(cat "${SELF}/css/main.css")
css=$(cat "${SELF}/target/css/main.css")
js=$(uglifyjs "${SELF}/js/*.js")
html=${INPUT_OUTPUT}/${name}.html
java -jar "${SELF}/saxon.jar" \
java -jar "${SELF}/target/saxon.jar" \
"-s:${INPUT_OUTPUT}/${name}.rich.xml" \
"-xsl:${SELF}/target/xsl/index.xsl" \
"-o:${html}" \
Expand Down

0 comments on commit a1e796f

Please sign in to comment.