aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-03-07 08:48:52 +0800
committerFelix Lange <fjl@twurst.com>2017-03-07 19:38:46 +0800
commit667cd518ceada7084698c8ea11d966db9f9e674a (patch)
treebb2e2f028862ec228d92b35bc54d5eeef6d29ca3
parent9c4fd4e9c9c9e7a8acfc5bafa74f6a49af1fbf16 (diff)
downloadgo-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar.gz
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar.bz2
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar.lz
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar.xz
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.tar.zst
go-tangerine-667cd518ceada7084698c8ea11d966db9f9e674a.zip
internal/jsre/deps: ensure that go generate produces no changes
-rw-r--r--internal/jsre/deps/bindata.go4
-rw-r--r--internal/jsre/deps/deps.go3
2 files changed, 4 insertions, 3 deletions
diff --git a/internal/jsre/deps/bindata.go b/internal/jsre/deps/bindata.go
index 5f6a2b873..782d4df80 100644
--- a/internal/jsre/deps/bindata.go
+++ b/internal/jsre/deps/bindata.go
@@ -84,7 +84,7 @@ func bignumberJs() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "bignumber.js", size: 17314, mode: os.FileMode(420), modTime: time.Unix(1484232218, 0)}
+ info := bindataFileInfo{name: "bignumber.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
@@ -104,7 +104,7 @@ func web3Js() (*asset, error) {
return nil, err
}
- info := bindataFileInfo{name: "web3.js", size: 491740, mode: os.FileMode(420), modTime: time.Unix(1484232456, 0)}
+ info := bindataFileInfo{name: "web3.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
diff --git a/internal/jsre/deps/deps.go b/internal/jsre/deps/deps.go
index 8d0e1a400..fe2e6f2fa 100644
--- a/internal/jsre/deps/deps.go
+++ b/internal/jsre/deps/deps.go
@@ -17,4 +17,5 @@
// Package deps contains the console JavaScript dependencies Go embedded.
package deps
-//go:generate go-bindata -o bindata.go bignumber.js web3.js
+//go:generate go-bindata -nometadata -pkg deps -o bindata.go bignumber.js web3.js
+//go:generate gofmt -w -s bindata.go