0a86a4d92c
The test `CMakeLists.txt` brings in cmocka but we don't actually need to build the tests to get the docs. This just makes the cmake docs script tell cmake not to build docs.
10 lines
224 B
Bash
Executable file
10 lines
224 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -eoux pipefail
|
|
|
|
mkdir -p automerge-c/build
|
|
cd automerge-c/build
|
|
cmake -B . -S .. -DBUILD_TESTING=OFF
|
|
cmake --build . --target automerge_docs
|
|
|
|
echo "Try opening automerge-c/build/src/html/index.html"
|