use zinput as a package

This commit is contained in:
Meghan Denny 2021-09-30 17:52:15 -07:00
parent ad8d75b613
commit 8390aaa70b
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ pub fn build(b: *std.build.Builder) !void {
);
exe.addPackage(.{ .name = "known-folders", .path = .{ .path = "src/known-folders/known-folders.zig" } });
exe.addPackage(.{ .name = "zinput", .path = .{ .path = "src/zinput/src/main.zig" } });
exe.setTarget(target);
exe.setBuildMode(mode);

View File

@ -1,5 +1,5 @@
const std = @import("std");
const zinput = @import("zinput/src/main.zig");
const zinput = @import("zinput");
const known_folders = @import("known-folders");
fn print(comptime fmt: []const u8, args: anytype) void {