Update bindata

This commit is contained in:
Dmitry Shulyak 2018-03-26 14:55:41 +03:00 committed by Igor Mandrigin
parent b71b7eeadb
commit b120587c9b
5 changed files with 2 additions and 54 deletions

View File

@ -26,6 +26,7 @@
version = "1.8.1" version = "1.8.1"
[[constraint]] [[constraint]]
# used only to embed web3js code with particular version
name = "github.com/status-im/go-web3js" name = "github.com/status-im/go-web3js"
version = "0.20.1" version = "0.20.1"

View File

@ -105,10 +105,7 @@ xgo:
setup: lint-install mock-install ##@other Prepare project for first build setup: lint-install mock-install ##@other Prepare project for first build
generate: ##@other Regenerate assets and other auto-generated stuff generate: ##@other Regenerate assets and other auto-generated stuff
cd _assets/static && npm install
cp ./_assets/static/node_modules/web3/dist/web3.min.js ./static/scripts/web3.js
go generate ./static go generate ./static
rm ./static/scripts/web3.js
mock-install: ##@other Install mocking tools mock-install: ##@other Install mocking tools
go get -u github.com/golang/mock/mockgen go get -u github.com/golang/mock/mockgen

File diff suppressed because one or more lines are too long

View File

@ -1,2 +0,0 @@
- see `make generate` which outputs web3.js into this directory
- in future, some static JavaScript files may be added to this folder

View File

@ -1,4 +1,4 @@
// Package static embeds static (JS, HTML) resources right into the binaries // Package static embeds static (JS, HTML) resources right into the binaries
package static package static
//go:generate go-bindata -pkg static -o bindata.go scripts/ config/ keys/ testdata/... //go:generate go-bindata -pkg static -o bindata.go config/ keys/ testdata/...