mirror of https://github.com/perkeep/perkeep.git
make.go: don't fail to build gopherjs if it doesn't already exist
Fixes #1096 Change-Id: I71c3a48248503b94ef0b4415083ccf95b5bb6265
This commit is contained in:
parent
c0c763492d
commit
c193a87ae1
3
make.go
3
make.go
|
@ -278,10 +278,11 @@ func buildGopherjs() error {
|
|||
return err
|
||||
}
|
||||
modtime := time.Now()
|
||||
var hashBefore string
|
||||
if err == nil {
|
||||
modtime = fi.ModTime()
|
||||
hashBefore = hashsum(outBin)
|
||||
}
|
||||
hashBefore := hashsum(outBin)
|
||||
|
||||
src := filepath.Join(pkRoot, filepath.FromSlash("vendor/github.com/gopherjs/gopherjs"))
|
||||
goBin := "go"
|
||||
|
|
Loading…
Reference in New Issue