Skip to content

Commit

Permalink
Adjust build tags to allow building on tinygo; for #73.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkegel-fastly committed May 20, 2023
1 parent c067b4f commit 13f3590
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion isatty_bsd.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine
//go:build (darwin || freebsd || openbsd || netbsd || dragonfly || hurd) && !appengine && !tinygo
// +build darwin freebsd openbsd netbsd dragonfly hurd
// +build !appengine
// +build !tinygo

package isatty

Expand Down
5 changes: 3 additions & 2 deletions isatty_others.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//go:build appengine || js || nacl || wasm
// +build appengine js nacl wasm
//go:build (appengine || js || nacl || tinygo || wasm) && !windows
// +build appengine js nacl tinygo wasm
// +build !windows

package isatty

Expand Down
3 changes: 2 additions & 1 deletion isatty_tcgets.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//go:build (linux || aix || zos) && !appengine
//go:build (linux || aix || zos) && !appengine && !tinygo
// +build linux aix zos
// +build !appengine
// +build !tinygo

package isatty

Expand Down

0 comments on commit 13f3590

Please sign in to comment.