-
Notifications
You must be signed in to change notification settings - Fork 18
1. Build the project
Florian Daloze edited this page Sep 2, 2025
·
1 revision
- clone the repository
- Init submodules with
git submodule init
andgit submodule update
- Install Rust (https://www.rust-lang.org/tools/install)
Run cargo build
to build the project in debug, and cargo build -r
to build in release mode.
Output will be available in target/debug
or target/release
. You'll find odoo_ls_server
or odoo_ls_server.exe
and odoo_ls_server.pdb
on windows.
You can build for any platform from your current machine using docker.
Warning: When building from windows, executables for linux and iOS will lose their 'executable' bit, making the extension not working. If you plan to build for multiple platform, it is better to do it from linux or iOS.
- Install docker
- run
cd server
and./build.sh init
- Depending on your target, you can run
./build.sh all
or choose specific platform with./build.sh help
- Get your output results in
target/YourPlatform/release