Update bindata
This commit is contained in:
parent
b71b7eeadb
commit
b120587c9b
|
@ -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"
|
||||||
|
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -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
|
@ -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
|
|
|
@ -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/...
|
||||||
|
|
Loading…
Reference in New Issue