Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

blockstitch

The block editor shared by Blockwork, Blockloom and the website.

Path What it is
CONTRIBUTING.md Where a change goes and how to test it
crates/blockstitch-core Rust backend: document model, values, editing operations, undo
crates/blockstitch-ffi, include/ C boundary for the browser build
qml/Blockstitch QML module com.blockworked.Blockstitch: canvas, palette, definition editor, theme
qml/module.json The module's file list, read by build.rs and cmake/BlockstitchQml.cmake
rust/lib.rs, build.rs The cxx-qt crate that statically links the QML module
tests/qml QML tests (QMLTESTRUNNER=qmltestrunner tests/qml/run.sh)
docs/hosting.md How a host app puts the editor on its own blocks

Tests: just test (or just test-core, which needs no Qt, and just test-qml). CI runs both (.github/workflows/checks.yml). The repo is one Cargo workspace. A plain cargo test runs the two crates under crates/; the root package is the QML crate (blockstitch-qml, Rust glue in rust/lib.rs), which needs Qt, so build it with just build. just fmt formats the Rust as CI checks it.

Hosts pin all three crates to one commit and move them together (see "Pins" in docs/hosting.md).

License

GPL-3.0-or-later. See LICENSE.

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages