Set up literate programming structure
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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-net/src/ coracle-signer/src/ coracle-content/src/ coracle-storage/src/
|
||||
rm -rf target/book/ target/book-staging/
|
||||
|
||||
all: build weave
|
||||
Reference in New Issue
Block a user