mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
renamed facilio package to zap
This commit is contained in:
parent
826dc62e22
commit
aa1bd024bf
3 changed files with 5 additions and 5 deletions
|
@ -1,8 +1,8 @@
|
|||
const std = @import("std");
|
||||
|
||||
const facilio = std.build.Pkg{
|
||||
.name = "facilio",
|
||||
.source = std.build.FileSource{ .path = "src/deps/facilio.zig" },
|
||||
const zap = std.build.Pkg{
|
||||
.name = "zap",
|
||||
.source = std.build.FileSource{ .path = "src/deps/zap.zig" },
|
||||
};
|
||||
|
||||
pub fn build(b: *std.build.Builder) !void {
|
||||
|
@ -19,7 +19,7 @@ pub fn build(b: *std.build.Builder) !void {
|
|||
|
||||
var example = b.addExecutable("example", "examples/hello/hello.zig");
|
||||
example.setBuildMode(mode);
|
||||
example.addPackage(facilio);
|
||||
example.addPackage(zap);
|
||||
example.addIncludePath("src/deps/facilio/libdump/all");
|
||||
_ = try addFacilio(example);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const std = @import("std");
|
||||
const zap = @import("facilio");
|
||||
const zap = @import("zap");
|
||||
|
||||
fn on_request(request: [*c]zap.C.http_s) callconv(.C) void {
|
||||
std.debug.print("GOT A REQUEST!\n", .{});
|
||||
|
|
Loading…
Add table
Reference in a new issue