diff options
-rw-r--r-- | .build.yml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -25,10 +25,10 @@ tasks: else metadata="version=$(git log -1 --no-decorate --oneline)" fi - pandoc --defaults=etc/pdf.yml -o ../spec.pdf -M "$metadata" $(echo files | awk '{ for (i=1; i<=NF; i++) printf "%s.html ", $i }') + pandoc --defaults=etc/pdf.yml -o ../spec.pdf -M "$metadata" $(echo $files | awk '{ for (i=1; i<=NF; i++) printf "%s.html ", $i }') - test-page-count: | - pages=$(pdfinfo spec.pdf | grep Pages | awk -f '{ print $2 }') - test pages -le 200 + pages=$(pdfinfo spec.pdf | grep Pages | awk '{ print $2 }') + test $pages -le 200 artifacts: - spec.pdf - spec-html.tar.gz |