Skip to content

Commit fa16c65

Browse files
committed
examples: let macos use rawterm to compile nusclient
1 parent a1e82ff commit fa16c65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ smoketest-macos:
4343
# Test on macos.
4444
GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/scanner
4545
GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/discover
46+
GOOS=darwin CGO_ENABLED=1 go build -o /tmp/go-build-discard ./examples/nusclient

rawterm/hosted.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// +build linux,!baremetal
1+
// +build linux,!baremetal darwin
22

33
// Package rawterm provides some sort of raw terminal interface, both on hosted
44
// systems and baremetal. It is intended only for use by examples.

0 commit comments

Comments
 (0)