Steps to export the steel-editor executable file:
-
Modify steel-engine version of CARGO_TOML in "steel-editor/src/project.rs" to the current supported version.
-
Use cargo build to generate executable file:
cargo build -p steel-editor -F desktop
- Create steel-editor exported folder, copy following folders and files to the exported folder:
- steel-build
- Cargo.toml
- .gitignore
- target/debug/steel-editor.exe
- Leave only the copied folders in Cargo.toml workspace:
members = [
"steel-build/steel-dynlib",
"steel-build/steel-client",
"steel-build/steel-server",
]
exclude = [
"steel-build/steel-project",
]
-
Modify steel-engine version and steel-common version of other Cargo.toml files not in the root directory to the current supported version.
-
Remove files and folders that are listed in .gitignore:
git init
git clean -Xdf
-
Remove folder ".git" and file ".gitignore".
-
Compress the exported folder into zip.
-
Test if the steel-editor executable can run.
- If fail, fix it and recompress into zip.
- If pass, you have the final output zip! Remember to reset steel-engine version of CARGO_TOML in "steel-editor/src/project.rs".