Merge pull request 'fixed readme' (#411) from readme into main

Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/411
This commit is contained in:
Chris Boesch
2026-04-19 21:29:03 +02:00

View File

@@ -106,12 +106,6 @@ Or let Ziglings pick an exercise for you:
zig build -Drandom
```
You can also run without checking for correctness:
```
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:
@@ -119,22 +113,10 @@ compiler if you're into that sort of thing:
zig run exercises/001_hello.zig
```
Calling all wizards: To prepare an executable for debugging,
install it to zig-cache/bin with:
```
zig build -Dn=19 install
```
To get a list of all possible options, run:
```
zig build -Dn=19 -l
install Install 019_functions2.zig to prefix path
uninstall Uninstall 019_functions2.zig from prefix path
test Run 019_functions2.zig without checking output
...
zig build -h
```
To reset the progress (have it run all the exercises that have already been completed):