Skip to content

Commit

Permalink
examples: let macos use rawterm to compile nusclient
Browse files Browse the repository at this point in the history
  • Loading branch information
deadprogram committed Sep 17, 2020
1 parent a1e82ff commit fa16c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion rawterm/hosted.go
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit fa16c65

Please sign in to comment.