From 3e11cd8bf7f855fe4653abc78bce5b0af91b3aa6 Mon Sep 17 00:00:00 2001 From: Federico Lolli <federico.lolli@skywarder.eu> Date: Sat, 24 Feb 2024 16:13:25 +0100 Subject: [PATCH] Update README and justfile path to dll --- README.md | 2 +- justfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 490eef9..c5928de 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ fullfile(matlabroot(), 'bin', computer('arch')) export MATLAB_LIB_DIR="<MATLAB_PATH>" cargo build --release ``` -After the build, your file will be available in the `target/release/` folder with the name `libserial_bridge.dylib` for mac systems and `serialbridge.dll` for windows systems. +After the build, your file will be available in the `target/release/` folder with the name `libserial_bridge.dylib` for mac systems and `serial_bridge.dll` for windows systems. mv libserial_bridge.dylib serialbridge.<EXT> diff --git a/justfile b/justfile index 1baa145..ad20719 100644 --- a/justfile +++ b/justfile @@ -6,7 +6,7 @@ alias d := docs source := 'docs/documentation.typ' dest := 'documentation.pdf' -dynlib := if os_family() == "unix" { "libserial_bridge.dylib" } else if os_family() == "windows" { "serialbridge.dll" } else { "libserial_bridge.dylib" } +dynlib := if os_family() == "unix" { "libserial_bridge.dylib" } else if os_family() == "windows" { "serial_bridge.dll" } else { "libserial_bridge.dylib" } ext := if os() == "macos" { "mexmaci64" } else if os_family() == "windows" { "mexw64" } else { "mexa64" } default: -- GitLab