Skip to content

Commit

Permalink
Merge pull request #74 from dkegel-fastly/dkegel-bug73-tinygo
Browse files Browse the repository at this point in the history
Adjust build tags to allow building on tinygo; for #73.
  • Loading branch information
mattn committed Oct 17, 2023
2 parents c067b4f + 13f3590 commit a7c0235
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
@@ -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
@@ -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
@@ -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 a7c0235

Please sign in to comment.