1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.PHONY: build release run test lint fmt typecheck checkall clean deploy ci
build:
cargo build
release:
cargo build --release
run:
cargo run --release -- $(ARGS)
test:
cargo test
lint:
cargo clippy -- -D warnings
fmt:
cargo fmt
fmt-check:
cargo fmt -- --check
typecheck:
cargo check
checkall: fmt lint typecheck test build
install:
cargo install --path .
clean:
cargo clean
# Trigger CI workflow on GitHub
ci:
gh workflow run ci.yml
@echo "CI triggered — watch at https://github.com/paulrobello/termflix/actions"
# Trigger release + deploy workflow on GitHub
deploy:
gh workflow run release.yml
@echo "Deploy triggered — watch at https://github.com/paulrobello/termflix/actions"