added roc check tip

This commit is contained in:
Anton-4 2021-12-09 10:36:53 +01:00
parent a1dc13b352
commit 0eadec6c25
3 changed files with 7 additions and 1 deletions

View file

@ -29,3 +29,5 @@
./roc examples/hello-world/Hello.roc
```
0. See [here](../README.md#examples) for the other examples.
**Tip:** when programming in roc, we recommend to execute `./roc check myproject/Foo.roc` before `./roc myproject/Foo.roc` or `./roc build myproject/Foo.roc`. `./roc check` can produce clear error messages in cases where building/running may panic.

View file

@ -10,4 +10,6 @@
# C
cargo run examples/hello-world/Hello.roc
```
4. See [here](../README.md#examples) for the other examples.
4. See [here](../README.md#examples) for the other examples.
**Tip:** when programming in roc, we recommend to execute `./roc check myproject/Foo.roc` before `./roc myproject/Foo.roc` or `./roc build myproject/Foo.roc`. `./roc check` can produce clear error messages in cases where building/running may panic.