diff --git a/Makefile b/Makefile index 56baa1f..ed2d147 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,4 @@ smoketest-macos: # Test on macos. GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/scanner GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/discover + GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/nusclient diff --git a/rawterm/hosted.go b/rawterm/hosted.go index 400f576..fa39f2e 100644 --- a/rawterm/hosted.go +++ b/rawterm/hosted.go @@ -1,4 +1,4 @@ -// +build linux,!baremetal +// +build linux,!baremetal darwin // Package rawterm provides some sort of raw terminal interface, both on hosted // systems and baremetal. It is intended only for use by examples.