1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00

use latest facil to support musl builds (thx @mattnite)

This commit is contained in:
Rene Schallner 2023-07-23 18:09:29 +02:00
parent 8696e9475a
commit 1c9adb6868
2 changed files with 8 additions and 3 deletions

View file

@ -36,6 +36,8 @@ pub fn build(b: *std.build.Builder) !void {
const facil_install_step = b.addInstallArtifact(facil_lib);
b.getInstallStep().dependOn(&facil_install_step.step);
const all_step = b.step("all", "build all examples");
inline for ([_]struct {
name: []const u8,
src: []const u8,
@ -96,6 +98,7 @@ pub fn build(b: *std.build.Builder) !void {
// install the artifact - depending on the "example"
const example_build_step = b.addInstallArtifact(example);
example_step.dependOn(&example_build_step.step);
all_step.dependOn(&example_build_step.step);
}
//
@ -187,6 +190,7 @@ pub fn build(b: *std.build.Builder) !void {
var pkghash_step = b.step("pkghash", "Build pkghash");
const pkghash_build_step = b.addInstallArtifact(pkghash_exe);
pkghash_step.dependOn(&pkghash_build_step.step);
all_step.dependOn(&pkghash_build_step.step);
//
// announceybot
@ -200,4 +204,5 @@ pub fn build(b: *std.build.Builder) !void {
var announceybot_step = b.step("announceybot", "Build announceybot");
const announceybot_build_step = b.addInstallArtifact(announceybot_exe);
announceybot_step.dependOn(&announceybot_build_step.step);
all_step.dependOn(&announceybot_build_step.step);
}

View file

@ -1,11 +1,11 @@
.{
.name = "zap",
.version = "0.1.8-pre",
.version = "0.1.9-pre",
.dependencies = .{
.@"facil.io" = .{
.url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.10.tar.gz",
.hash = "12205e49e9c2c6f0dcab9423fc92d8f0450a4dc2706b68a6d45a448a738ebff70103",
.url = "https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.11.tar.gz",
.hash = "1220aeeb78554b41e8b4a61eca7f29031cca7cb31d935c5583db17c0bb1439b87334",
}
}
}