From cff8aa2e521a6ee5c0b9818177a0799b5f26351e Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sun, 9 Apr 2023 19:25:04 +0200 Subject: [PATCH] closes https://github.com/ratfactor/ziglings/issues/223 --- README.md | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index adfb4b2..e734c75 100644 --- a/README.md +++ b/README.md @@ -102,14 +102,14 @@ It can be handy to check just a single exercise or _start_ from a single exercise: ```bash -zig build 19 -zig build 19_start +zig build -Dn=19 +zig build -Dn=19 start ``` You can also run without checking for correctness: ```bash -zig build 19_test +zig build -Dn=19 test ``` Or skip the build system entirely and interact directly with the compiler @@ -123,7 +123,18 @@ Calling all wizards: To prepare an executable for debugging, install it to zig-cache/bin with: ```bash -zig build 19_install +zig build -Dn=19 install +``` + +To get a list of all possible options, run: + +```bash +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 + ... ``` ## What's Covered @@ -168,6 +179,7 @@ Core Language * [X] Interfaces * [X] Working with C * [ ] String formatting +* [ ] Bit manipulation ## Contributing