build:
	cargo build

test:
	RUST_BACKTRACE=full cargo watch -s 'cargo test -- --nocapture'

next-watch:
	cargo watch -s 'cargo nextest run'

integration: build
	bats -t -r test/integration

clippy:
	cargo clippy --all-features

test-in-ci: clippy
	cargo test --all-features --verbose --locked

build-x86_64-unknown-linux-musl-release:
	cargo build --release --locked --target x86_64-unknown-linux-musl

build-x86_64-apple-darwin-release:
	bin/osxcross-compile.sh

.PHONY: test
