Skip to content

Commit 4b993d7

Browse files
authored
Merge pull request #757 from jalvesz/readme-info
Add CLI option for building with fpm
2 parents 7be6485 + 5bccf62 commit 4b993d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ git checkout stdlib-fpm
184184
fpm build --profile release
185185
```
186186

187+
**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:
188+
189+
```sh
190+
source ./ci/fpm-deployment.sh
191+
cd stdlib-fpm/
192+
fpm build --profile release
193+
```
194+
187195
You can run the examples with `fpm` as:
188196

189197
```sh

0 commit comments

Comments
 (0)