build(zig-0.16): update example build instrcutions to work on all platforms

This commit is contained in:
CJ van den Berg 2026-04-13 13:29:02 +02:00
parent 33205725c3
commit cbb9baab0d
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
4 changed files with 18 additions and 3 deletions

View file

@ -3,7 +3,10 @@
//!
//! Build and run (from this directory):
//!
//! zig build-exe --dep nightwatch -Msimple-polling=simple-polling.zig -Mnightwatch=../src/nightwatch.zig
//! zig build-exe \
//! --dep nightwatch -Msimple-polling=simple-polling.zig \
//! --dep build_options -Mnightwatch=../src/nightwatch.zig \
//! -Mbuild_options=build_options.zig
//! ./simple-polling
const nightwatch = @import("nightwatch");