also looking at this
Harden encrypted mail storage, recovery, and forwarding
#8
50 files
+1701
-9001
| @@ -1,27 +0,0 @@ | ||
| 1 | const std = @import("std"); | |
| 2 | ||
| 3 | pub fn build(b: *std.Build) void { | |
| 4 | const target = b.standardTargetOptions(.{}); | |
| 5 | const optimize = b.standardOptimizeOption(.{}); | |
| 6 | ||
| 7 | // Main TLS module | |
| 8 | const tls_module = b.addModule("tls", .{ | |
| 9 | .root_source_file = b.path("src/root.zig"), | |
| 10 | .target = target, | |
| 11 | .optimize = optimize, | |
| 12 | }); | |
| 13 | _ = tls_module; | |
| 14 | ||
| 15 | // Unit tests | |
| 16 | const lib_mod = b.createModule(.{ | |
| 17 | .root_source_file = b.path("src/root.zig"), | |
| 18 | .target = target, | |
| 19 | .optimize = optimize, | |
| 20 | }); | |
| 21 | const unit_tests = b.addTest(.{ | |
| 22 | .root_module = lib_mod, | |
| 23 | }); | |
| 24 | const run_unit_tests = b.addRunArtifact(unit_tests); | |
| 25 | const test_step = b.step("test", "Run unit tests"); | |
| 26 | test_step.dependOn(&run_unit_tests.step); | |
| 27 | } | |