Permalink
Browse files

build: Remove external dependency osext.

Its functionality is now available in standard library as of Go 1.8.
See kardianos/osext#20.
  • Loading branch information...
1 parent 8980111 commit ad3bc125932a924d7691c3128bfdc1f731e1cfe4 @shurcooL shurcooL committed Jan 5, 2017
Showing with 1 addition and 2 deletions.
  1. +1 −2 build/build.go
View
@@ -21,7 +21,6 @@ import (
"github.com/fsnotify/fsnotify"
"github.com/gopherjs/gopherjs/compiler"
"github.com/gopherjs/gopherjs/compiler/natives"
- "github.com/kardianos/osext"
"github.com/neelance/sourcemap"
)
@@ -488,7 +487,7 @@ func (s *Session) BuildPackage(pkg *PackageData) (*compiler.Archive, error) {
if pkg.PkgObj != "" {
var fileInfo os.FileInfo
- gopherjsBinary, err := osext.Executable()
+ gopherjsBinary, err := os.Executable()
if err == nil {
fileInfo, err = os.Stat(gopherjsBinary)
if err == nil {

0 comments on commit ad3bc12

Please sign in to comment.