diff options
| author | Robby Zambito <contact@robbyzambito.me> | 2026-02-03 23:04:07 -0500 |
|---|---|---|
| committer | Robby Zambito <contact@robbyzambito.me> | 2026-02-03 23:06:30 -0500 |
| commit | f202410f0df3b7df3396b2eda5f6127c499d503c (patch) | |
| tree | 0f032122a5835142dd3188c0904292df60fc0681 /build.zig | |
| parent | 9dcbc44aa14f552bb7c00e4ec1c5a170394d7860 (diff) | |
Include license and readme in build output
This is probably required for GPL compliance :-D
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ const std = @import("std"); // build runner to parallelize the build automatically (and the cache system to // know when a step doesn't need to be re-run). pub fn build(b: *std.Build) void { + // Ensure the license is included in the output directory + b.installFile("LICENSE.md", "LICENSE.md"); + b.installFile("README.md", "README.md"); // Standard target options allow the person running `zig build` to choose // what target to build for. Here we do not override the defaults, which // means any target is allowed, and the default is native. Other options |
