diff --git a/Justfile b/Justfile index f1a24f7..28e84d2 100644 --- a/Justfile +++ b/Justfile @@ -38,5 +38,8 @@ uninstall: (remove "@local") # uninstalls the library from the "@preview" prefix (for pre-release testing) uninstall-preview: (remove "@preview") +format: + ./scripts/format + # run ci suite ci: test doc diff --git a/scripts/format b/scripts/format new file mode 100755 index 0000000..b7b47a4 --- /dev/null +++ b/scripts/format @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -eu + +find . -iname "*.typ" | xargs typstyle -i \ No newline at end of file