mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
Merge pull request 'fixed readme' (#411) from readme into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/411
This commit is contained in:
20
README.md
20
README.md
@@ -106,12 +106,6 @@ Or let Ziglings pick an exercise for you:
|
|||||||
zig build -Drandom
|
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
|
Or skip the build system entirely and interact directly with the
|
||||||
compiler if you're into that sort of thing:
|
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
|
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:
|
To get a list of all possible options, run:
|
||||||
|
|
||||||
```
|
```
|
||||||
zig build -Dn=19 -l
|
zig build -h
|
||||||
|
|
||||||
install Install 019_functions2.zig to prefix path
|
|
||||||
uninstall Uninstall 019_functions2.zig from prefix path
|
|
||||||
test Run 019_functions2.zig without checking output
|
|
||||||
...
|
|
||||||
```
|
```
|
||||||
|
|
||||||
To reset the progress (have it run all the exercises that have already been completed):
|
To reset the progress (have it run all the exercises that have already been completed):
|
||||||
|
|||||||
Reference in New Issue
Block a user