Skip to content

Commit

Permalink
show no awards
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 22, 2024
1 parent c19c881 commit c91a9ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ release:
pre: false
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
sed -i -e "s/^0.0.0/${tag}/" Dockerfile
sed -i -e "s/^0.0.0/${tag}/" entry.sh
sudo docker build "$(pwd)"
make
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
.PHONY: clean all
.SILENT:

VERSION = 0.0.0

SHELL = bash

YAMLS = $(wildcard tests/*.yml)
Expand Down
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,4 @@ In order to test this action, just run (provided, you have

```bash
make
```

This should build a new Docker image named `pages-action`
and then run the entire cycle
inside a new Docker container. Obviously, you need to have
[Docker](https://docs.docker.com/get-docker/) installed. The Docker image
will be deleted by the end of Make build.
```

Check failure on line 16 in README.md

View workflow job for this annotation

GitHub Actions / markdown-lint

Files should end with a single newline character
2 changes: 2 additions & 0 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
set -e
set -o pipefail

VERSION = 0.0.0

if [ -z "${JUDGES}" ]; then
JUDGES=judges
fi
Expand Down
7 changes: 6 additions & 1 deletion xsl/awards.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ SOFTWARE.
</xsl:if>
<xsl:value-of select="$a"/>
</xsl:function>
<xsl:template match="/" mode="awards">
<xsl:template match="/[fb[not(f)]]" mode="awards">
<p>
<xsl:text>No awards as of yet.</xsl:text>
</p>
</xsl:template>
<xsl:template match="/[fb/f]" mode="awards">
<table id="awards" border="1">
<colgroup>
<col style="width: 2em;"/>
Expand Down

0 comments on commit c91a9ea

Please sign in to comment.