diff --git a/README.md b/README.md index 0604c3b..8dcef63 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Or check your favorite local system package repository. Make sure your system meets the requirements listed above. -Flow builds with zig 0.14.0-dev.3091 at this time. Build with: +Flow builds with zig 0.14.0 at this time. Build with: ```shell zig build -Doptimize=ReleaseSafe diff --git a/build.zig b/build.zig index 1656e8a..2a364df 100644 --- a/build.zig +++ b/build.zig @@ -206,7 +206,16 @@ pub fn build_exe( .optimize = optimize, }); - const tracy_dep = if (tracy_enabled) b.dependency("tracy", .{ + const thespian_dep = b.dependency("thespian", .{ + .target = target, + .optimize = optimize_deps, + .enable_tracy = tracy_enabled, + }); + + const thespian_mod = thespian_dep.module("thespian"); + const cbor_mod = thespian_dep.module("cbor"); + + const tracy_dep = if (tracy_enabled) thespian_dep.builder.dependency("tracy", .{ .target = target, .optimize = optimize, }) else undefined; @@ -234,15 +243,6 @@ pub fn build_exe( }); const syntax_mod = syntax_dep.module("syntax"); - const thespian_dep = b.dependency("thespian", .{ - .target = target, - .optimize = optimize_deps, - .enable_tracy = tracy_enabled, - }); - - const thespian_mod = thespian_dep.module("thespian"); - const cbor_mod = thespian_dep.module("cbor"); - const help_mod = b.createModule(.{ .root_source_file = b.path("help.md"), }); diff --git a/build.zig.version b/build.zig.version index aa57b2f..a803cc2 100644 --- a/build.zig.version +++ b/build.zig.version @@ -1 +1 @@ -0.14.0-dev.3280+bbd13ab96 +0.14.0 diff --git a/build.zig.zon b/build.zig.zon index 6fde976..d61e402 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,8 @@ .{ - .name = "flow", + .name = .flow, .version = "0.2.0", - .minimum_zig_version = "0.14.0-dev.3091", + .minimum_zig_version = "0.14.0", + .fingerprint = 0x52c0d670590aa80f, .dependencies = .{ .syntax = .{ .path = "src/syntax" }, @@ -9,17 +10,13 @@ .url = "https://github.com/n0s4/flags/archive/372501d1576b5723829bcba98e41361132c7b618.tar.gz", .hash = "1220ae181067a549c7a99cc0868193a7889b151381410419191ab1a79304f914336e", }, - .tracy = .{ - .url = "https://github.com/neurocyte/zig-tracy/archive/e04e31c64498149a324491b8534758e6af43a5c2.tar.gz", - .hash = "1220d0fb2bff7b453dbb39d1db3eb472b6680e2564f2b23b0e947671be47bbdd188f", - }, .dizzy = .{ .url = "https://github.com/neurocyte/dizzy/archive/455d18369cbb2a0458ba70be919cd378338d695e.tar.gz", .hash = "1220220dbc7fe91c1c54438193ca765cebbcb7d58f35cdcaee404a9d2245a42a4362", }, .thespian = .{ - .url = "https://github.com/neurocyte/thespian/archive/a3f0f5b089534a29f146768345eb32428f59f521.tar.gz", - .hash = "1220839522cd1d8b19c62488127f763a202c69b0ad629666280724902c23f10bd29f", + .url = "https://github.com/neurocyte/thespian/archive/78c9c1292c683478d8ac98d8318bc098442cc0b9.tar.gz", + .hash = "thespian-0.0.1-owFOjsnnBgBCsKhYw9XeHnQw0Um9SJQECEZ0aqomc04m", }, .themes = .{ .url = "https://github.com/neurocyte/flow-themes/releases/download/master-59bf204551bcb238faddd06779063570e7e6d431/flow-themes.tar.gz", diff --git a/src/syntax/build.zig b/src/syntax/build.zig index c74f15f..f9a3105 100644 --- a/src/syntax/build.zig +++ b/src/syntax/build.zig @@ -9,7 +9,7 @@ pub fn build(b: *std.Build) void { const target = b.standardTargetOptions(.{}); const optimize = b.standardOptimizeOption(.{}); - const tree_sitter_dep = b.dependency("tree-sitter", .{ + const tree_sitter_dep = b.dependency("tree_sitter", .{ .target = target, .optimize = optimize, }); diff --git a/src/syntax/build.zig.zon b/src/syntax/build.zig.zon index 0f161c8..eb592e2 100644 --- a/src/syntax/build.zig.zon +++ b/src/syntax/build.zig.zon @@ -1,11 +1,13 @@ .{ - .name = "flow-syntax", - .version = "0.0.1", + .name = .flow_syntax, + .version = "0.1.0", + .fingerprint = 0x3ba2584ea1cec85f, + .minimum_zig_version = "0.14.0-dev.3451+d8d2aa9af", .dependencies = .{ - .@"tree-sitter" = .{ + .tree_sitter = .{ .url = "https://github.com/neurocyte/tree-sitter/releases/download/master-86dd4d2536f2748c5b4ea0e1e70678039a569aac/source.tar.gz", - .hash = "1220e9fba96c468283129e977767472dee00b16f356e5912431cec8f1a009b6691a2", + .hash = "N-V-__8AACablCbp-6lsRoKDEp6Xd2dHLe4AsW81blkSQxzs", }, }, .paths = .{