Skip to content

Commit

Permalink
Merge pull request #1 from InKryption/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ultd authored Jun 7, 2024
2 parents 7cec072 + 783fa40 commit e1001fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
zig-cache/
zig-out/
/.zig-cache/
/zig-out/
6 changes: 3 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ pub fn build(b: *std.Build) void {
.name = "base58-zig",
// In this case the main source file is merely a path, however, in more
// complicated build scripts, this could be a generated file.
.root_source_file = .{ .path = "src/lib.zig" },
.root_source_file = b.path("src/lib.zig"),
.target = target,
.optimize = optimize,
});

// expose Base58-zig as a module
_ = b.addModule(package_name, .{
.root_source_file = .{ .path = package_path },
.root_source_file = b.path(package_path),
.imports = &.{},
});

Expand All @@ -41,7 +41,7 @@ pub fn build(b: *std.Build) void {
// Creates a step for unit testing. This only builds the test executable
// but does not run it.
const main_tests = b.addTest(.{
.root_source_file = .{ .path = "src/tests.zig" },
.root_source_file = b.path("src/tests.zig"),
.target = target,
.optimize = optimize,
});
Expand Down

0 comments on commit e1001fb

Please sign in to comment.