Skip to content

Commit 18e5de8

Browse files
authored
Update README.md
1 parent 17c56a3 commit 18e5de8

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,28 @@
11
# code
2-
Source code for some of the examples featured in my blog
2+
3+
Source code for some of the examples featured in my [blog](https://arielm.github.io/cross-blog).
4+
5+
### Instructions
6+
7+
1. Following [these instructions](https://arielm.github.io/cross-blog/2022/10/06/hello-world.html) for running on macOS or Linux, or [these instructions](https://arielm.github.io/cross-blog/2022/10/06/running-in-the-browser.html) for running in the browser.
8+
9+
2. Clone this repository with:
10+
```
11+
git clone https://github.com/arielm/code
12+
```
13+
14+
3. Add `CODE_PATH` variable:
15+
```
16+
export CODE_PATH=path/to/code
17+
```
18+
19+
4. Pick a sketch, e.g.
20+
```
21+
cd $CODE_PATH/sketches/Drawing2dText
22+
```
23+
24+
5. Run for your platform of choice:
25+
```
26+
RUN_TEST -DPLATFORM=???
27+
```
28+
Supported platform identifiers: `osx`, `linux`, `emscripten`

0 commit comments

Comments
 (0)