File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1128,6 +1128,8 @@ pub fn build(b: *std.Build) !void {
11281128 });
11291129 example_c .linkLibrary (mruby_lib );
11301130
1131+ b .installArtifact (example_c );
1132+
11311133 const run = b .addRunArtifact (example_c );
11321134 run .expectExitCode (42 );
11331135 run .expectStdOutEqual (
@@ -1153,6 +1155,8 @@ pub fn build(b: *std.Build) !void {
11531155 \\
11541156 );
11551157
1158+ b .getInstallStep ().dependOn (& example_ruby .step );
1159+
11561160 const step = b .step ("example-rb" , "Run src/example.rb" );
11571161 step .dependOn (& example_ruby .step );
11581162 }
@@ -1168,6 +1172,8 @@ pub fn build(b: *std.Build) !void {
11681172 {
11691173 example_zig .root_module .addImport ("mruby" , module );
11701174
1175+ b .installArtifact (example_zig );
1176+
11711177 const run = b .addRunArtifact (example_zig );
11721178
11731179 const step = b .step ("example-zig" , "Run src/example.zig" );
You can’t perform that action at this time.
0 commit comments