Initiated Zig Project for 2023 day02
This commit is contained in:
parent
f1906f48c7
commit
06ad9eefb3
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -3,3 +3,5 @@
|
||||||
2022/day05/obj
|
2022/day05/obj
|
||||||
2023/day01/bin/Debug/net7.0
|
2023/day01/bin/Debug/net7.0
|
||||||
2023/day01/obj
|
2023/day01/obj
|
||||||
|
zig-cache
|
||||||
|
zig-out
|
9
2023/day02/build.zig
Normal file
9
2023/day02/build.zig
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn build(b: *std.Build) void {
|
||||||
|
const exe = b.addExecutable(.{
|
||||||
|
.name = "main",
|
||||||
|
.root_source_file = .{ .path = "main.zig" },
|
||||||
|
});
|
||||||
|
b.installArtifact(exe);
|
||||||
|
}
|
5
2023/day02/main.zig
Normal file
5
2023/day02/main.zig
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn main() !void {
|
||||||
|
std.debug.print("Hello World!", .{});
|
||||||
|
}
|
Loading…
Reference in a new issue