Compare commits

...

2 commits

Author SHA1 Message Date
2dd23a7580
Include anyascii in the zig package. 2025-01-08 21:56:50 +01:00
7dc30ed1e2
Fix install documentation. 2025-01-08 21:56:17 +01:00
3 changed files with 2 additions and 4 deletions

View file

@ -42,7 +42,7 @@ In `build.zig`:
```zig ```zig
// Add anyascii.zig dependency. // Add anyascii.zig dependency.
const anyascii = b.dependency("anyascii", .{ const anyascii = b.dependency("anyascii.zig", .{
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });

View file

@ -1,8 +1,5 @@
const std = @import("std"); const std = @import("std");
// Although this function looks imperative, note that its job is to
// declaratively construct a build graph that will be executed by an external
// runner.
pub fn build(b: *std.Build) void { pub fn build(b: *std.Build) void {
const target = b.standardTargetOptions(.{}); const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{}); const optimize = b.standardOptimizeOption(.{});

View file

@ -7,6 +7,7 @@
"build.zig", "build.zig",
"build.zig.zon", "build.zig.zon",
"src", "src",
"anyascii",
"README.md", "README.md",
}, },
} }