Development
Prerequisites
Optional
- VS Code with the following extensions
- GitHub CLI
Development Cycle Overview
- Branch
- Develop
cargo build- develop:
- tests
- implementation
- document:
mdbook build- output: automesh/book/build
mdbook serve --open- interactive mode
- on local machine, with Firefox, open the
index.htmlfile., e.g., file:///Users/chovey/autotwin/automesh/book/build/index.html
- test:
cargo testcargo run// test without required input and output flagscargo run --release -- -i tests/input/f.npy -o foo.exocargo run -- --help
- precommit:
pre-commit run --all-files
- clean:
cargo clean
cargo doc --open
- Test
maturin develop --release --features python
- Merge request
References
-
As of Oct 2024,
cmakeis required forhdf5-metno-src v0.9.2, used for writing Exodus II files. On macOS withbrew, install withbrew install cmakeinstead of the GUI installer. ↩