Skip to content

rename tests/ to build/, move nob into it#61

Merged
netanel-haber merged 1 commit intomainfrom
rename-tests-to-build
Feb 8, 2026
Merged

rename tests/ to build/, move nob into it#61
netanel-haber merged 1 commit intomainfrom
rename-tests-to-build

Conversation

@netanel-haber
Copy link
Owner

Summary

  • Rename tests/ directory to build/
  • Move nob.c and nob.h into build/ alongside test sources
  • nob now chdirs into build/ so sibling files are referenced directly ("test.c", "python_harness/...") instead of "build/test.c" everywhere
  • Only snakepath.h and api_demo.c use "../" since they live at the project root
  • Updated all references in CI, README, CLAUDE.md, .gitignore, and docs

Test plan

  • Local build + test pass (Termux, clang-only)
  • Linux CI (gcc, clang, g++, clang++, sanitizers, valgrind, Python)
  • Windows CI (MSVC, Python)

🤖 Generated with Claude Code

nob now chdirs into build/ so test paths are simple siblings
instead of requiring a "build/" prefix everywhere. Only
snakepath.h and api_demo.c use "../" since they live at the root.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@netanel-haber netanel-haber merged commit 0a6696b into main Feb 8, 2026
2 checks passed
@netanel-haber netanel-haber deleted the rename-tests-to-build branch February 8, 2026 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant