|
|
@ -10,8 +10,8 @@ Because Rust won't allow you to re-export symbols from other crates, this crate
|
|
|
|
cd crate-dir
|
|
|
|
cd crate-dir
|
|
|
|
git status || git init
|
|
|
|
git status || git init
|
|
|
|
mkdir extern
|
|
|
|
mkdir extern
|
|
|
|
git submodule add https://git.cijber.net/teamnwah/tes3mp-plugin extern/tes3mp-plugin
|
|
|
|
git submodule add https://git.cijber.net/teamnwah/tes3mp-rs extern/tes3mp-plugin
|
|
|
|
ln -s extern/tes3mp-plugin/tes3mp-plugin/src/plugin src/plugin
|
|
|
|
ln -s extern/tes3mp-rs/tes3mp-plugin/src/plugin src/plugin
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
This will make the `plugin` like it's part of your crate, which allows us to export the C symbols
|
|
|
|
This will make the `plugin` like it's part of your crate, which allows us to export the C symbols
|