panorama/Justfile

32 lines
561 B
Makefile

set dotenv-load := false
ct:
tokei
fmt:
cargo +nightly fmt --all
doc shouldOpen="":
#!/bin/bash
if [[ -n "{{shouldOpen}}" ]]; then
OPEN=--open
fi
cargo doc --workspace --document-private-items --no-deps $OPEN
test:
cargo test --all
watch:
cargo watch -c -x 'check --all'
afl-imap:
#!/bin/bash
cd imap/imap-parsing-fuzz-target
pwd
cargo afl build
cargo afl fuzz -i in -o out target/debug/imap-parsing-fuzz-target
fuzz-imap:
#!/bin/bash
cd imap
cargo +nightly fuzz run parse_response