diff --git a/README.md b/README.md index 6aa3f902c..671fd288a 100644 --- a/README.md +++ b/README.md @@ -184,6 +184,14 @@ git checkout stdlib-fpm fpm build --profile release ``` +**Alternative**: as `fpm` does not currently support `fypp` natively, building `stdlib` with `fpm` can be done in two steps: a) launch the preprocessor through the `fpm-deployment.sh` script, which creates a subfolder `stdlib-fpm` and b) build the project using the processed files within the latter subfolder. This process can be done with the following commands: + +```sh +source ./ci/fpm-deployment.sh +cd stdlib-fpm/ +fpm build --profile release +``` + You can run the examples with `fpm` as: ```sh