Completed all seven deck requests

This commit is contained in:
2024-07-08 11:51:39 -06:00
parent 777e07035b
commit 653b309825
3 changed files with 595 additions and 224 deletions
+4 -8
View File
@@ -1,16 +1,11 @@
const std = @import("std");
pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{
.whitelist = &[_]std.Target.Query{
std.Target.Query{ .cpu_arch = .aarch64, .os_tag = .macos },
std.Target.Query{ .cpu_arch = .x86_64, .os_tag = .linux },
},
});
const target = b.standardTargetOptions(.{});
// TODO
// Prefer small size binaries for optimization
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .Debug });
const optimize = b.standardOptimizeOption(.{ .preferred_optimize_mode = .ReleaseSmall });
const exe = b.addExecutable(.{
.name = "genius_deck",
@@ -25,11 +20,12 @@ pub fn build(b: *std.Build) void {
.openssl = false,
});
exe.root_module.addImport("zap", zap.module("zap"));
b.installArtifact(exe);
// Create Check step for zls
const exe_check = b.addExecutable(.{
.name = "zerver",
.name = "genius_deck",
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,