rogged/Justfile
NotAShelf 7af642612b
build: migrate from Make to Zig build system + Just
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7585121a5ec8e797adc43ba8e30d4ac86a6a6964
2026-04-05 20:29:11 +03:00

20 lines
305 B
Makefile

# Build the project
build:
zig build
# Build and run
dev:
zig build run
# Clean build artifacts
clean:
rm -rf zig-out .zig-cache
# Format all C source files
fmt:
clang-format -i src/*.c src/*.h
zig fmt **/*.zig
# Check formatting
fmt-check:
clang-format --dry-run --Werror src/*.c src/*.h