build: add format script and just command
This commit is contained in:
3
Justfile
3
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
|
||||
|
||||
4
scripts/format
Executable file
4
scripts/format
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
find . -iname "*.typ" | xargs typstyle -i
|
||||
Reference in New Issue
Block a user