diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-07-11 22:07:03 -0500 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2024-07-11 22:07:03 -0500 |
| commit | 3c531d4bbc754cc1dac6a050b30c3851eb7a2223 (patch) | |
| tree | 0e478f375ba76e17b50c44a78cd33dd4415ca406 /build.zig | |
| parent | b3a865de6358bafc6f62e12565b4e1f452105977 (diff) | |
| download | calico-3c531d4bbc754cc1dac6a050b30c3851eb7a2223.tar.gz | |
chore(everything): Changed up some small stuff, comments and the like.
totally not me forgetting what i put in this commit noooo...
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -31,8 +31,16 @@ pub fn build(b: *std.Build) void { .optimize = optimize, }); + const token_unit_tests = b.addTest(.{ + .root_source_file = b.path("src/tokenize.zig"), + .target = target, + .optimize = optimize, + }); + const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests); + const run_token_unit_tests = b.addRunArtifact(token_unit_tests); const test_step = b.step("test", "Run unit tests"); test_step.dependOn(&run_exe_unit_tests.step); + test_step.dependOn(&run_token_unit_tests.step); } |
