.PHONY: all test build check clean run
all: clean check test build run
test:
RUST_BACKTRACE=1 cargo test && exit
build:
cargo build --release -j 8 && exit
check:
cargo check --tests && exit
clean:
cargo clean && exit
run:
cargo run --package telegram-api-rs && exit
publish:
cargo publish && exit