Skip to content

Commit 065c581

Browse files
committed
Clarify dependencies of examples
Closes #68
1 parent a15f6eb commit 065c581

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,8 @@ jobs:
4040

4141
- run: opam install . --deps-only
4242

43-
- run: opam install containers re yojson -y
44-
if: matrix.ocaml-compiler != '4.08.0'
45-
46-
- run: opam exec -- dune build
43+
- run: opam exec -- dune clean
4744
if: matrix.ocaml-compiler != '4.08.0'
4845

4946
- run: opam install .
47+
if: matrix.os != 'windows-latest'

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,15 @@ opam install raylib
5151
```
5252

5353
## Examples
54-
To build the examples, make sure the raylib C submodule is available with `git submodule update --init --recursive`. Then simply
54+
To build the examples, make sure the raylib C submodule is available with `git
55+
submodule update --init --recursive`, and that all needed dependencies are
56+
installed.
57+
58+
``` sh
59+
opam install . --deps-only
60+
```
61+
62+
Finally, simply
5563
``` sh
5664
dune build
5765
```

0 commit comments

Comments
 (0)