Skip to content

1. Build the project

Florian Daloze edited this page Sep 2, 2025 · 1 revision

Build the project

Download resources

  1. clone the repository
  2. Init submodules with git submodule init and git submodule update
  3. Install Rust (https://www.rust-lang.org/tools/install)

Build the project for your machine

Run cargo build to build the project in debug, and cargo build -r to build in release mode.

Output

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.

Build the project for any platform with docker

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.

Steps

  1. Install docker
  2. run cd server and ./build.sh init
  3. Depending on your target, you can run ./build.sh all or choose specific platform with ./build.sh help
  4. Get your output results in target/YourPlatform/release
Clone this wiki locally