examples: let macos use rawterm to compile nusclient
This commit is contained in:
parent
a1e82ffa1f
commit
fa16c65199
1
Makefile
1
Makefile
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user