Skip to content

Commit

Permalink
fix zon file
Browse files Browse the repository at this point in the history
close: #2
  • Loading branch information
kassane committed Jan 3, 2024
1 parent c322287 commit 98727fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ pub fn build(b: *std.Build) void {
const xlsxwriter_dep = b.dependency("xlsxwriter", .{
.target = target,
.optimize = optimize,
.USE_SYSTEM_MINIZIP = true,
});
const xlsxwriter = xlsxwriter_dep.artifact("xlsxwriter");

_ = b.addModule("xlsxwriter", .{
.source_file = .{
.path = "src/xlsxwriter.zig",
Expand Down Expand Up @@ -57,7 +57,7 @@ fn makeExample(b: *std.build, property: BuildInfo) void {
run_cmd.addArgs(args);
}

var descr = b.fmt("Run the {s} example", .{property.filename()});
const descr = b.fmt("Run the {s} example", .{property.filename()});
const run_step = b.step(property.filename(), descr);
run_step.dependOn(&run_cmd.step);
}
Expand Down
5 changes: 3 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
.version = "0.1.0",
.dependencies = .{
.xlsxwriter = .{
.url = "https://github.com/kassane/libxlsxwriter/archive/4d26958e5ecb8b63b3f8b8d0693dd47c19f90d56.tar.gz",
.hash = "122019cf739cf80ac6b8147314fb818a23203916d88350a769ff732aaa623e185fb1",
.url = "https://github.com/jmcnamara/libxlsxwriter/archive/6a2364c42cac3bb6cf80ac501c3d5b3c2910bd17.tar.gz",
.hash = "1220ec59ba47b272a7f1f7b10fccd68c25cedc32ebb68c2e4b29e6998067008e3ad7",
},
},
.paths = .{""},
}

0 comments on commit 98727fc

Please sign in to comment.