git.lucas.co / cce-list
things-to-remember checklist
git clone https://git.lucas.co/cce-list.git

Makefile (508B)

 1 .PHONY: build install run clean
 2 
 3 build:
 4 	cargo build --release
 5 
 6 # Binaries, helper scripts and user units are enumerated by ccebuild from
 7 # cargo metadata, so extra [[bin]] targets are picked up without being named
 8 # here — hand-listing them is what left crates shipping incomplete for weeks.
 9 install: build
10 	@command -v ccebuild >/dev/null || { echo "ccebuild not installed — run: make -C ../cce-compositor install"; exit 1; }
11 	ccebuild install --no-build cce-list
12 
13 run:
14 	cargo run
15 
16 clean:
17 	cargo clean