1
Fork 0

Update nom #14

Merged
lucas merged 3 commits from feat/dependencies into master 2025-04-21 22:35:43 +02:00
Showing only changes of commit cf896a1c42 - Show all commits

View file

@ -11,6 +11,10 @@ run *ARGS:
test *ARGS: test *ARGS:
cargo test {{ARGS}} cargo test {{ARGS}}
check:
cargo clippy -- -D warnings
cargo test
doc: doc:
cargo doc --no-deps cargo doc --no-deps
cargo readme > README.md cargo readme > README.md
@ -18,8 +22,13 @@ doc:
serve-doc port='8000': doc serve-doc port='8000': doc
python3 -m http.server {{port}} --directory target/doc python3 -m http.server {{port}} --directory target/doc
release version execute='': release version execute='': check build doc
cargo release --sign --allow-branch master {{ if execute != "" { '-x' } else { '' } }} {{version}} git fetch --all
[ "$(git rev-parse master)" = "$(git rev-parse origin/master)" ] \
|| (echo "error: master and origin/master differ" >&2; exit 1)
git branch -f release master
git checkout release
cargo release --sign --allow-branch release {{ if execute != "" { '-x' } else { '' } }} {{version}}
coverage *ARGS: coverage *ARGS:
RUSTFLAGS="-C instrument-coverage" cargo test --tests {{ARGS}} || true RUSTFLAGS="-C instrument-coverage" cargo test --tests {{ARGS}} || true