acta 0.0.1

A customizable logging library for Rust
Documentation
.PHONY: all lint test test-all test-no-default fmt fmt-check ci publish-dry run debug build build-snapshot release release-snapshot check clean

all: check

fmt:
	cargo fmt --all

fmt-check:
	cargo fmt --all -- --check

clippy:
	cargo clippy --all-features -- -D warnings

lint: fmt-check clippy

test:
	cargo test --all --all-features

test-all:
	cargo test --all

test-no-default:
	cargo test --all --no-default-features

ci: lint test test-all test-no-default publish-dry

publish-dry:
	cargo publish --manifest-path crates/acta-build/Cargo.toml --dry-run --allow-dirty
	cargo publish --dry-run --allow-dirty

run:
	cargo run -p acta-debug --all-features

check-debug:
	cargo check -p acta-debug --all-features

debug: run

build:
	goreleaser build --snapshot --clean --skip=before --config .goreleaser.yml

build-snapshot:
	goreleaser release --snapshot --clean --skip=before --config .goreleaser.yml

release:
	goreleaser release --clean --skip=before --config .goreleaser.yml

release-snapshot:
	goreleaser release --snapshot --clean --skip=before --config .goreleaser.yml

check: ci

clean:
	cargo clean
	rm -rf dist/