aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorManlio Perillo <manlio.perillo@gmail.com>2023-04-30 18:48:52 +0200
committerManlio Perillo <manlio.perillo@gmail.com>2023-05-01 18:39:54 +0200
commit5c20e2b55338e829b2c2db2bbd5b1fe410b656af (patch)
treecdb8b4a77954f10aac8d86de3a4cb0d647c20ea3 /.github
parent69103a3b821d8b8955eac59489b0dabb6f4735ff (diff)
build: rename Exercise.baseName to name
The name "baseName" is confusing, since it refers to the UNIX basename command, and not to the basename function in some programming languages including Zig. Use the std.fs.path.stem function to remove the file extension, instead of slicing. Remove the use of the assertion, since it is no longer necessary. Instead, add a check to ensure that the exercise must be a Zig source file in the validate_exercises function. Update the validate_exercises function to check the last exercise, too.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions