mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-11-05 07:16:23 +01:00
chore: format a bit and add just fmt
This commit is contained in:
parent
1c3012fb32
commit
23ffbe39dc
|
@ -1,6 +1,5 @@
|
|||
[workspace]
|
||||
members = [
|
||||
"crates/app",
|
||||
"crates/executor",
|
||||
"crates/ir",
|
||||
"crates/cli",
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
packages = with pkgs; [
|
||||
just nushell
|
||||
ripgrep
|
||||
typst typst-lsp
|
||||
mold
|
||||
cargo-nextest cargo-watch
|
||||
|
|
10
justfile
10
justfile
|
@ -1,5 +1,9 @@
|
|||
all: test docs
|
||||
|
||||
test:
|
||||
#!/usr/bin/env nu
|
||||
cargo nextest run
|
||||
|
||||
# Compile all documentation as in proposals and design documents, placing them under `docs/compiled`.
|
||||
docs:
|
||||
#!/usr/bin/env nu
|
||||
|
@ -12,6 +16,8 @@ docs:
|
|||
mv $pdf docs/compiled
|
||||
} | ignore
|
||||
|
||||
test:
|
||||
fmt:
|
||||
#!/usr/bin/env nu
|
||||
cargo nextest run
|
||||
cargo fmt
|
||||
echo "Places where whitespace is at the end of a line:"
|
||||
rg '\s$'
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
(
|
||||
[
|
||||
Read((
|
||||
source: File("/home/jade/example/file.png"),
|
||||
format: Png
|
||||
source: File("testfiles/juan.png"),
|
||||
format: Jpeg
|
||||
)),
|
||||
Write((
|
||||
target: File("/home/jade/example/out.jpg"),
|
||||
format: Jpeg
|
||||
target: File("testfiles/out.png"),
|
||||
format: Png
|
||||
))
|
||||
]
|
||||
)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
[
|
||||
Read((
|
||||
source: File("testfiles/juan.jpg"),
|
||||
format: Png
|
||||
format: Jpeg
|
||||
)),
|
||||
Filter(Invert),
|
||||
Write((
|
||||
|
|
Loading…
Reference in a new issue