setup-zig/test/build.zig
Renée Kooi bd0d3f0ae3
Actually support downloading Zig version: master (#5)
* Fix extracted folder name

* ci: also test with zig master

* fix lint

* fail on error

* debug

* other debug 😂

* console.log

* lol apply the change

* yadda

* wtf

* fuck

* ????

* xauuaoethosnuhtnohqsn

* siiiiiigh

* just use stderr lol whatever

* ditch debugging

* use test
2020-02-01 19:01:44 +01:00

11 lines
308 B
Zig

const Builder = @import("std").build.Builder;
pub fn build(b: *Builder) void {
const mode = b.standardReleaseOptions();
const test_build = b.addTest("src/main.zig");
test_build.setBuildMode(mode);
const test_step = b.step("test", "Run the app");
test_step.dependOn(&test_build.step);
}