timr-tui/justfile
Jens K. 3d0d55c8d8
rustfmt, clippy, gh actions, justfile, Default app (#4)
* `Default` app
* add zed settings
* add justfile
* flake: update devShell, ignore tests, add `just`
* update README
* gh actions: lint, format, tests. build
2024-11-29 15:49:55 +01:00

33 lines
366 B
Makefile

# The `--fmt` command is currently unstable.
set unstable := true
default: run
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