aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-04-13 10:41:34 +0200
committerGitHub <noreply@github.com>2023-04-13 10:41:34 +0200
commit540042576e9e24c82a245a2f3d648d3ecace165d (patch)
treef05e9b5621e3776c44402c1d397f3d188b16a9c9 /README.md
parent3b3f802cc8b1cdcb947cab2676f10d6c177c154f (diff)
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 14b1590..24d57f4 100644
--- a/README.md
+++ b/README.md
@@ -38,21 +38,21 @@ Install a [development build](https://ziglang.org/download/) of the Zig compiler
Verify the installation and build number of `zig` like so:
-```bash
+```
$ zig version
0.11.0-dev.2560+xxxxxxxxx
```
Clone this repository with Git:
-```bash
+```
$ git clone https://github.com/ratfactor/ziglings
$ cd ziglings
```
Then run `zig build` and follow the instructions to begin!
-```bash
+```
$ zig build
```
@@ -102,28 +102,28 @@ Version-0.11.0-dev.2560+602029bb2
It can be handy to check just a single exercise or _start_ from a single
exercise:
-```bash
+```
zig build -Dn=19
zig build -Dn=19 start
```
You can also run without checking for correctness:
-```bash
+```
zig build -Dn=19 test
```
Or skip the build system entirely and interact directly with the compiler
if you're into that sort of thing:
-```bash
+```
zig run exercises/001_hello.zig
```
Calling all wizards: To prepare an executable for debugging, install it
to zig-cache/bin with:
-```bash
+```
zig build -Dn=19 install
```
@@ -191,6 +191,6 @@ the learning resource I wished for. There will be tons of room for improvement:
* Idiomatic usage of Zig
* Maybe additional exercises?
-Please see CONTRIBUTING.md in this repo for the full details.
+Please see [CONTRIBUTING](https://github.com/ratfactor/ziglings/blob/main/CONTRIBUTING.md) in this repo for the full details.