Skip to content
Draft
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
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {

const lib = b.addStaticLibrary(.{
.name = "Fluent",
.root_source_file = b.path("fluent.zig"),
.root_source_file = b.path("src/fluent.zig"),
.target = target,
.optimize = optimize,
});
Expand All @@ -15,7 +15,7 @@ pub fn build(b: *std.Build) void {

const check = b.addStaticLibrary(.{
.name = "Fluent",
.root_source_file = b.path("fluent.zig"),
.root_source_file = b.path("src/fluent.zig"),
.target = target,
.optimize = optimize,
.use_llvm = false,
Expand All @@ -25,7 +25,7 @@ pub fn build(b: *std.Build) void {
check_step.dependOn(&check.step);

const lib_unit_tests = b.addTest(.{
.root_source_file = b.path("fluent.zig"),
.root_source_file = b.path("src/fluent.zig"),
.target = target,
.optimize = optimize,
});
Expand All @@ -35,7 +35,7 @@ pub fn build(b: *std.Build) void {
test_step.dependOn(&run_lib_unit_tests.step);

_ = b.addModule("Fluent", .{
.root_source_file = b.path("fluent.zig"),
.root_source_file = b.path("src/fluent.zig"),
.target = target,
.optimize = optimize,
});
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.name = "Fluent",
.version = "2.1.0",
.paths = .{
"fluent.zig",
"src",
"LICENSE",
"README.md",
"build.zig.zon",
Expand Down
Loading
Loading