automerge/scripts/ci/cmake-docs
Alex Good dd3c6d1303
Move rust workspace into ./rust
After some discussion with PVH I realise that the repo structure in the
last reorg was very rust-centric. In an attempt to put each language on
a level footing move the rust code and project files into ./rust
2022-10-16 19:55:51 +01:00

10 lines
243 B
Bash
Executable file

#!/usr/bin/env bash
set -eoux pipefail
mkdir -p crates/automerge-c/build
cd rust/automerge-c/build
cmake -B . -S .. -DBUILD_TESTING=OFF
cmake --build . --target automerge_docs
echo "Try opening crates/automerge-c/build/src/html/index.html"