diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index bfc2085..7f25255 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -27,6 +27,15 @@ mv quickjs-2021-03-27 quickjs cd quickjs && make && cd - ``` +### MacOS - Development +```sh +# Build +dune build src/cli/strings.exe -w + +# Run (separate terminal) +cp _build/default/src/cli/strings.exe strings.mac && ./strings.mac +``` + ### MacOS - Build & Run ```sh # Don't forget to update the version number in [strings.ml] diff --git a/src/quickjs/dune b/src/quickjs/dune index d0cdf4f..7917581 100644 --- a/src/quickjs/dune +++ b/src/quickjs/dune @@ -55,7 +55,7 @@ (rule (targets libomp.a) (action (bash " - cp /usr/local/Cellar/libomp/14.0.6/lib/libomp.a . &> /dev/null \ + cp /usr/local/Cellar/libomp/15.0.7/lib/libomp.a . &> /dev/null \ || cp /usr/lib/libgomp.a libomp.a ")) (mode standard)