Skip to content

Commit

Permalink
Chore: reduce justfile ouput for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Jan 22, 2024
1 parent 2cbe546 commit 1761197
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ default:

# generate example images
gen-examples:
typst compile \
@typst compile \
--root {{ self }} \
examples/main.typ \
examples/example{n}.png

ls examples \
@ls examples \
| where name =~ '\.png$' \
| get name \
| each {|it| magick convert $it -crop 1191x200++0+0 $it} \
| ignore

# generate docs
gen-docs:
ls docs/examples \
@ls docs/examples \
| where type == dir \
| get name \
| each {|it| \
Expand All @@ -40,7 +40,7 @@ gen-docs:
} \
| ignore

typst compile \
@typst compile \
--root {{ self }} \
docs/manual.typ \
docs/manual.pdf
Expand All @@ -57,4 +57,4 @@ gen: gen-examples gen-docs

# run a minimal test harness
test filter='':
typst-test run {{ filter }}
@typst-test run {{ filter }}

0 comments on commit 1761197

Please sign in to comment.