mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
Vendor the MIT-licensed Fathom C source and compile it into a Rustler NIF (native/fathom_nif). The NIF exposes init/1 (point Fathom at a tablebase directory) and probe/1 (raw WDL/DTZ/move results for a FEN); probes are serialised because Fathom's root probe is not thread safe, and run as dirty NIFs. Add KRvK/KQvK 3-piece WDL+DTZ fixtures and an integration test proving a known KRvK probe returns Win, DTZ 23 and 15 moves.
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
# The directory Mix will write compiled artifacts to.
|
|
/_build/
|
|
|
|
# If you run "mix test --cover", coverage assets end up here.
|
|
/cover/
|
|
|
|
# The directory Mix downloads your dependencies sources to.
|
|
/deps/
|
|
|
|
# Where 3rd-party dependencies like ExDoc output generated docs.
|
|
/doc/
|
|
|
|
# Ignore .fetch files in case you like to edit your project deps locally.
|
|
/.fetch
|
|
|
|
# If the VM crashes, it generates a dump, let's ignore it too.
|
|
erl_crash.dump
|
|
|
|
# Also ignore archive artifacts (built via "mix archive.build").
|
|
*.ez
|
|
|
|
# Temporary files, for example, from tests.
|
|
/tmp/
|
|
|
|
# Ignore package tarball (built via "mix hex.build").
|
|
chesstrainer-*.tar
|
|
|
|
# Ignore assets that are produced by build tools.
|
|
/priv/static/assets/
|
|
|
|
# Ignore ETS table backups
|
|
/priv/static/backups/
|
|
|
|
# Ignore digested assets cache.
|
|
/priv/static/cache_manifest.json
|
|
|
|
# In case you use Node.js/npm, you want to ignore these.
|
|
npm-debug.log
|
|
/assets/node_modules/
|
|
|
|
.codegraph/
|
|
|
|
# graft's local graph cache — regenerable, not committed (run `graft build`).
|
|
/graft/
|
|
|
|
# Rust build artefacts for the Fathom NIF (the source and vendored C are kept).
|
|
/native/fathom_nif/target/
|
|
|
|
# Compiled NIF artefacts (rebuilt from native/ by Rustler).
|
|
/priv/native/
|