Ryan Liptak 0cbc59f227 standalone tests: Add windows spawn test
Tests a decent amount of edge cases dealing with how PATH and PATHEXT searching is handled.
2022-12-18 03:55:28 -08:00

17 lines
443 B
Zig

const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const mode = b.standardReleaseOptions();
const hello = b.addExecutable("hello", "hello.zig");
hello.setBuildMode(mode);
const main = b.addExecutable("main", "main.zig");
main.setBuildMode(mode);
const run = main.run();
run.addArtifactArg(hello);
const test_step = b.step("test", "Test it");
test_step.dependOn(&run.step);
}