Skip to content

Commit 5fc1caa

Browse files
committed
add instructions to run the examples with fpm
1 parent 29a091e commit 5fc1caa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,15 @@ git checkout stdlib-fpm
184184
fpm build --profile release
185185
```
186186

187+
You can run the examples with `fpm` as:
188+
189+
```sh
190+
fpm run --example prog
191+
```
192+
193+
with `prog` being the name of the example program (e.g., `example_sort`).
194+
195+
187196
To use `stdlib` within your `fpm` project, add the following lines to your `fpm.toml` file:
188197
```toml
189198
[dependencies]

0 commit comments

Comments
 (0)