mach: Rename `js-runtime subproject to sysjs`

This commit is contained in:
iddev5 2022-07-13 12:40:29 +05:30 committed by Stephen Gutekanst
parent 05b0df052d
commit 7a0d39c274
11 changed files with 7 additions and 7 deletions

22
sysjs/build.zig Normal file
View file

@ -0,0 +1,22 @@
const std = @import("std");
pub fn build(b: *std.build.Builder) void {
const mode = b.standardReleaseOptions();
const main_tests = b.addTest("src/main.zig");
main_tests.addPackage(pkg);
main_tests.setBuildMode(mode);
const test_step = b.step("test", "Run library tests");
test_step.dependOn(&main_tests.step);
}
pub const pkg = std.build.Pkg{
.name = "sysjs",
.source = .{ .path = thisDir() ++ "/src/main.zig" },
.dependencies = &[_]std.build.Pkg{},
};
fn thisDir() []const u8 {
return std.fs.path.dirname(@src().file) orelse ".";
}