[package] name = "roc_docs_cli" description = "Provides a binary that is only used for static build servers." authors.workspace = true edition.workspace = true license.workspace = true version.workspace = true # This binary is only used on static build servers, e.g. Netlify. # Having its own (extremely minimal) CLI means docs can be generated # on a build server after building this crate from source, without # having to install non-Rust dependencies (LLVM, Zig, wasm things, etc.) # It gets called in www/build.sh via `cargo run --bin roc-docs` [[bin]] name = "roc-docs" path = "src/main.rs" test = false bench = false [dependencies] roc_docs = { path = "../docs" } clap.workspace = true [target.'cfg(windows)'.dependencies] libc.workspace = true