mirror of https://github.com/fralalonde/dipstick
29 lines
426 B
Makefile
Executable File
29 lines
426 B
Makefile
Executable File
#!just
|
|
# Sane make-like command runner: https://github.com/casey/just
|
|
|
|
# Default target
|
|
all: format test examples bench lint
|
|
|
|
# Unit and doc tests
|
|
test:
|
|
cargo test --no-default-features --features="skeptic"
|
|
|
|
examples:
|
|
cargo build --examples
|
|
|
|
bench:
|
|
cargo +nightly bench --features="bench"
|
|
|
|
format:
|
|
cargo fmt
|
|
|
|
lint:
|
|
cargo clippy
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
# Build all and then publish to crates.io.
|
|
publish: all
|
|
cargo publish
|