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
44
45
46
47
48
49
50
51
.PHONY: build release run test lint fmt typecheck checkall clean deploy ci gallery
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 .
# Capture all animations to ./gallery as PNG+GIF with index.html.
# Filter or override via ARGS, e.g.:
# make gallery
# make gallery ARGS="fire,plasma"
# make gallery ARGS="fire --gallery-dir /tmp/g"
gallery:
cargo run --release -- --gallery $(ARGS)
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"