2021-11-04 08:44:41 +00:00
|
|
|
set dotenv-load := false
|
|
|
|
|
2021-08-23 07:50:32 +00:00
|
|
|
ct:
|
|
|
|
tokei
|
|
|
|
|
2021-08-08 03:09:36 +00:00
|
|
|
fmt:
|
|
|
|
cargo +nightly fmt --all
|
2021-08-09 22:56:17 +00:00
|
|
|
|
2021-11-04 08:44:41 +00:00
|
|
|
doc shouldOpen="":
|
|
|
|
#!/bin/bash
|
|
|
|
if [[ -n "{{shouldOpen}}" ]]; then
|
|
|
|
OPEN=--open
|
|
|
|
fi
|
|
|
|
cargo doc --workspace --document-private-items --no-deps $OPEN
|
2021-08-23 00:19:27 +00:00
|
|
|
|
2021-08-24 02:54:09 +00:00
|
|
|
test:
|
|
|
|
cargo test --all
|
|
|
|
|
2021-08-23 00:19:27 +00:00
|
|
|
watch:
|
2021-09-07 11:30:11 +00:00
|
|
|
cargo watch -c -x 'check --all'
|
2021-08-23 07:11:06 +00:00
|
|
|
|
2021-08-24 03:33:46 +00:00
|
|
|
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
|
|
|
|
|
2021-08-23 07:11:06 +00:00
|
|
|
fuzz-imap:
|
|
|
|
#!/bin/bash
|
|
|
|
cd imap
|
2021-09-07 11:30:11 +00:00
|
|
|
cargo +nightly fuzz run parse_response
|