diff --git a/.gitmodules b/.gitmodules index f4c48de4f..08e063365 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "packages/agent-native"] path = packages/agent-native url = https://github.com/ZSeven-W/agent.git +[submodule "vendor/agent"] + path = vendor/agent + url = https://github.com/ZSeven-W/agent-rs.git diff --git a/README.md b/README.md index 23138502b..f39c3de5e 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,16 @@ scoop install openpencil npm install -g @zseven-w/openpencil ``` +## Cloning(含 Rust 子系统) + +```bash +git clone --recurse-submodules https://github.com/ZSeven-W/openpencil.git +# Or already cloned: +git submodule update --init --recursive +``` + +`vendor/agent` is the `agent-rs` submodule (cross-product, OP + Zode share); HTTPS URL needs no SSH key. + ## Quick Start (Development) ```bash diff --git a/vendor/agent b/vendor/agent new file mode 160000 index 000000000..65b845585 --- /dev/null +++ b/vendor/agent @@ -0,0 +1 @@ +Subproject commit 65b845585afa68fbd3bff09771b77e8668154062