summaryrefslogtreecommitdiff
path: root/build.zig
diff options
context:
space:
mode:
authorXander Bil <xander@biltopia.org>2024-12-02 23:38:23 +0100
committerXander Bil <xander@biltopia.org>2024-12-02 23:38:23 +0100
commit1c2490f5f2c9419ddb5035fc3a8967beef691e6c (patch)
tree0dd2cb0a588e5fff69d7002585ace9bc81099fb4 /build.zig
downloadaoc2024-1c2490f5f2c9419ddb5035fc3a8967beef691e6c.tar.xz
aoc2024-1c2490f5f2c9419ddb5035fc3a8967beef691e6c.zip
solutions day1 and day2
Diffstat (limited to 'build.zig')
-rw-r--r--build.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.zig b/build.zig
new file mode 100644
index 0000000..3234a16
--- /dev/null
+++ b/build.zig
@@ -0,0 +1,7 @@
+const std = @import("std");
+const print = std.debug.print;
+
+pub fn build(b: *std.Build) void {
+ const exe = b.addExecutable(.{ .name = "day01", .root_source_file = b.path("main.zig"), .target = b.standardTargetOptions(.{}), .optimize = .ReleaseFast });
+ b.installArtifact(exe);
+}