Files
lotherk 573ef61afc version: print the build time and revision, not just 0.1.0
The release number does not move, so two builds - the tree and the
installed binary - looked identical in --version.

make now generates src/backend/buildinfo.c from the objects it stamps and
links it into libsplinter. The stamp is only rewritten when one of those
objects is newer, so a no-op make keeps the old time instead of pretending
the binary was rebuilt. The git revision is included, with -dirty when the
working tree differs from HEAD.

    splinter 0.1.0 (built 2026-11-16 15:39:00 WET, 42c11f9)

buildinfo.c is a build artefact: gitignored and removed by make clean.
make check: all tests passed.
2026-11-16 15:39:10 +00:00

25 lines
431 B
Plaintext

*.o
splinter
splinterctl
tests/test_buf
tests/test_tool
tests/test_session
tests/test_transport
tests/test_agent
# build artefacts: a .so in git is a .so that conflicts on every build
*.so
plugins/*/*.so
tests/test_*
!tests/test_*.c
!tests/test_*.sh
# python bytecode from the test helpers
__pycache__/
src/backend/catalogs.c
src/backend/buildinfo.c
# Claude Code worktrees and local session state
.claude/
.splinter-swarm.sock