- Refactor `event` handling (heavily inspired by [crates-tui](https://github.com/ratatui/crates-tui/) via [Tui with Terminal and EventHandler](https://ratatui.rs/recipes/apps/terminal-and-event-handler/)) - Refactor widget structure - Disable `nixos-unstable` temporarily - Add `.rustfmt.toml`
34 lines
383 B
Makefile
34 lines
383 B
Makefile
# The `--fmt` command is currently unstable.
|
|
|
|
# set unstable := true
|
|
|
|
default:
|
|
@just --list
|
|
|
|
alias b := build
|
|
alias f := format
|
|
alias l := lint
|
|
alias t := test
|
|
alias r := run
|
|
|
|
# build app
|
|
build:
|
|
cargo build
|
|
|
|
# run tests
|
|
test:
|
|
cargo test
|
|
|
|
# format files
|
|
format:
|
|
# just --fmt
|
|
cargo fmt --check
|
|
|
|
# lint
|
|
lint:
|
|
cargo clippy --no-deps
|
|
|
|
# run app
|
|
run:
|
|
cargo run
|