prometheus_web_exporter 1.0.9

Web exporter for prometheus
Documentation
VERSION = $(shell cargo pkgid | sed 's!.*\@!!')

version:
	@echo "$(VERSION)"

run:
	WEB_EXPORTER_LOG_LEVEL=info cargo run

# before releasing update version in cargo.toml file and run prerelease.
prerelease:
	cargo generate-lockfile
	cargo build --release --locked
	cargo test
	cargo check
	cargo fmt
	cargo clippy -- -D warnings

check: prerelease

# Make sure you already commit all your changes.
release: prerelease
	cargo publish
	git tag v$(VERSION);
	git push origin --tags