tangle:
    cargo run -p coracle-tangle -- tangle book/

build: tangle
    cargo build --workspace --exclude coracle-tangle

weave: tangle
    cargo run -p coracle-tangle -- weave book/
    mdbook build target/book-staging/

check: tangle
    cargo check --workspace --exclude coracle-tangle

clean:
    rm -rf coracle-lib/src/ coracle-domain/src/ coracle-net/src/ coracle-signer/src/ coracle-content/src/ coracle-storage/src/
    rm -rf target/book/ target/book-staging/

all: build weave
