Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions build/app.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ fn addTests(
tour_tests.root_module.addImport("tape", b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/tape/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("tape/root.zig"),
}));
try unit_test_artifacts.append(b.allocator, tour_tests);

Expand Down Expand Up @@ -1262,7 +1262,7 @@ fn addTests(
keymap_module.addImport("tape", b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/tape/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("tape/root.zig"),
}));
try unit_test_artifacts.append(b.allocator, b.addTest(.{
.name = "fizzy-keymap-tests",
Expand Down Expand Up @@ -1344,7 +1344,7 @@ fn addTests(
.root_module = b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/remote/fake_fizzy.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("remote/fake_fizzy.zig"),
}),
});
const fake_options = b.addOptions();
Expand All @@ -1354,7 +1354,7 @@ fn addTests(
.root_module = b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/remote/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("remote/root.zig"),
.imports = &.{.{ .name = "fake_fizzy_options", .module = fake_options.createModule() }},
}),
.filters = test_filters,
Expand Down Expand Up @@ -1463,13 +1463,13 @@ fn addTests(
const replay_only = b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/replay/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("replay/root.zig"),
});
replay_only.addImport("dvui", dvui_testing_dep.module("dvui_testing"));
replay_only.addImport("tape", b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/tape/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("tape/root.zig"),
}));
const replay_tests = b.addTest(.{
.name = "fizzy-replay-tests",
Expand Down Expand Up @@ -2055,7 +2055,7 @@ fn addTests(
bench_module.addImport("tape", b.createModule(.{
.target = target,
.optimize = optimize,
.root_source_file = b.path("sdk/tape/root.zig"),
.root_source_file = b.dependency("fizzy_sdk", .{}).path("tape/root.zig"),
}));
const bench_tape = b.addTest(.{ .name = "fizzy-bench-tape", .root_module = bench_module });

Expand Down
2 changes: 1 addition & 1 deletion src/editor/demos/tour.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//! fresh one. The explorer is pressed open only if it is not showing already. A snapshot holds the window's
//! arrangement too (`Demo.Snapshot`), so a seek back across a split or a float puts the window
//! back as it was then, rather than replaying from the keyframe.
const std = @import("std");
const Tape = @import("tape").Tape;
const Script = @import("tape").Script;
const catalog = @import("catalog.zig");
Expand Down Expand Up @@ -201,7 +202,6 @@ pub fn build(s: *Script) !void {
}

test "a frost-first tour names the frosted glass it shows" {
const std = @import("std");
var s: Script = .init(std.testing.allocator, "tour", "Tour");
s.lacks = &.{"liquid"};
try build(&s);
Expand Down
Loading