Browse Source

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

pull/1782/head
Ethan Frey 8 years ago
parent
commit
bee63ce4ff
2 changed files with 5 additions and 5 deletions
  1. +4
    -3
      Makefile
  2. +1
    -2
      _gen.go

+ 4
- 3
Makefile 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!"

+ 1
- 2
_gen.go 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"
)

Loading…
Cancel
Save