Cleaned up build process, moved codegen to separate package in go-wire

This commit is contained in:
Ethan Frey 2017-05-15 19:13:49 +02:00
parent 79c580492e
commit bee63ce4ff
2 changed files with 5 additions and 5 deletions

View File

@ -25,11 +25,12 @@ ensure_tools:
go get $(GOTOOLS)
prepgen: install
cd ../go-wire && make tools
go install ./vendor/github.com/btcsuite/btcutil/base58
go install ./vendor/github.com/stretchr/testify/assert
go install ./vendor/github.com/stretchr/testify/require
go install ./vendor/golang.org/x/crypto/bcrypt
codegen: prepgen
gen
codegen:
@echo "--> regenerating all interface wrappers"
@gen
@echo "Done!"

View File

@ -1,7 +1,6 @@
package main
import (
_ "github.com/tendermint/go-wire/data"
_ "github.com/tendermint/go-wire/gen"
_ "github.com/clipperhouse/stringer"
_ "github.com/clipperhouse/set"
)