mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
Merge pull request #226 from chrboesch/adjust_advance
Adjustment of the 'Advanced usage' in the README
This commit is contained in:
commit
420acb781b
1 changed files with 16 additions and 4 deletions
20
README.md
20
README.md
|
@ -102,14 +102,14 @@ It can be handy to check just a single exercise or _start_ from a single
|
||||||
exercise:
|
exercise:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig build 19
|
zig build -Dn=19
|
||||||
zig build 19_start
|
zig build -Dn=19 start
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also run without checking for correctness:
|
You can also run without checking for correctness:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig build 19_test
|
zig build -Dn=19 test
|
||||||
```
|
```
|
||||||
|
|
||||||
Or skip the build system entirely and interact directly with the compiler
|
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:
|
to zig-cache/bin with:
|
||||||
|
|
||||||
```bash
|
```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
|
## What's Covered
|
||||||
|
@ -168,6 +179,7 @@ Core Language
|
||||||
* [X] Interfaces
|
* [X] Interfaces
|
||||||
* [X] Working with C
|
* [X] Working with C
|
||||||
* [ ] String formatting
|
* [ ] String formatting
|
||||||
|
* [ ] Bit manipulation
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue