diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-25 16:49:12 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-25 16:49:12 -0600 |
commit | 743870947f61028c43bd414d5248fedf9bb72817 (patch) | |
tree | 310f860c606505288fc213c2895335c604561625 | |
parent | de1a54d2d475301c2c7d4f7d2b876daa419d3d58 (diff) | |
download | spec-743870947f61028c43bd414d5248fedf9bb72817.tar.gz spec-743870947f61028c43bd414d5248fedf9bb72817.zip |
bash correctly
-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 |