examples: let macos use rawterm to compile nusclient

This commit is contained in:
Ron Evans 2020-09-16 20:40:07 +02:00
parent a1e82ffa1f
commit fa16c65199
2 changed files with 2 additions and 1 deletions

@ -43,3 +43,4 @@ smoketest-macos:
# Test on 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/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/discover
GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/nusclient

@ -1,4 +1,4 @@
// +build linux,!baremetal // +build linux,!baremetal darwin
// Package rawterm provides some sort of raw terminal interface, both on hosted // Package rawterm provides some sort of raw terminal interface, both on hosted
// systems and baremetal. It is intended only for use by examples. // systems and baremetal. It is intended only for use by examples.