mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 19:40:48 -05:00
Moved exercises to exercises because exercises
This commit is contained in:
parent
cf0920de31
commit
55ad7c32f2
45 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# ziglings
|
# ziglings
|
||||||
|
|
||||||
Welcome to `ziglings`. This project contains a series of incomplete exercises.
|
Welcome to `ziglings`! This project contains a series of incomplete exercises.
|
||||||
By completing the exercises, you learn how to read and write
|
By completing the exercises, you learn how to read and write
|
||||||
[Zig](https://ziglang.org/)
|
[Zig](https://ziglang.org/)
|
||||||
code.
|
code.
|
||||||
|
@ -55,7 +55,7 @@ If you can't (or don't want to) use the script, you can manually verify each
|
||||||
exercise with the Zig compiler:
|
exercise with the Zig compiler:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
zig run 01_hello.zig
|
zig run exercises/01_hello.zig
|
||||||
```
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
2
ziglings
2
ziglings
|
@ -20,7 +20,7 @@ fmt_off=$( tput sgr0 ) # reset colors/effects
|
||||||
exercise_num=0
|
exercise_num=0
|
||||||
|
|
||||||
function check_it {
|
function check_it {
|
||||||
source_file=$1
|
source_file="exercises/$1"
|
||||||
correct_output=$2
|
correct_output=$2
|
||||||
hint=$3
|
hint=$3
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue