diff --git a/README.md b/README.md index 490eef9f42ef198c3bbbe30e3cbae1044c7390b1..c5928de5f2b0878e20bdd4d42ea679a194676f8d 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 1baa145780feac908bd69a09e22854ed43340664..ad207199f01e5a939ff3c55aef7539328f95ffab 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: