Attempting to fix tests during pull request to master repo
This commit is contained in:
parent
dedb2e4278
commit
6410d4da15
|
@ -53,7 +53,7 @@ var initCmd = &cobra.Command{
|
|||
fmt.Print("configuring the project in " + projectPath + "\n\n")
|
||||
time.Sleep(2 * time.Second)
|
||||
box := packr.NewBox("../template")
|
||||
var replacer = strings.NewReplacer("MyAwesomeProject", capitalizedProjectName, "myawesomeproject", shortProjectName, "github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli", remoteProjectPath)
|
||||
var replacer = strings.NewReplacer("MyAwesomeProject", capitalizedProjectName, "myawesomeproject", shortProjectName, "github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template", remoteProjectPath)
|
||||
box.Walk(func(path string, file packr.File) error {
|
||||
actualPath := replacer.Replace(path)
|
||||
fmt.Println("Creating file: " + actualPath)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
||||
#BUILD_FLAGS = -ldflags "-X github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/version.GitCommit=`git rev-parse --short HEAD`"
|
||||
#BUILD_FLAGS = -ldflags "-X github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template/version.GitCommit=`git rev-parse --short HEAD`"
|
||||
|
||||
all: get_tools get_vendor_deps build test
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/cosmos/cosmos-sdk/x/auth"
|
||||
"github.com/cosmos/cosmos-sdk/x/bank"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/types"
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template/types"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -17,8 +17,8 @@ import (
|
|||
authcmd "github.com/cosmos/cosmos-sdk/x/auth/client/cli"
|
||||
bankcmd "github.com/cosmos/cosmos-sdk/x/bank/client/cli"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/app"
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/types"
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template/app"
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template/types"
|
||||
)
|
||||
|
||||
// rootCmd is the entry point for this binary
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/tendermint/tendermint/libs/log"
|
||||
tmtypes "github.com/tendermint/tendermint/types"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/app"
|
||||
"github.com/cosmos/cosmos-sdk/cmd/cosmos-sdk-cli/template/app"
|
||||
|
||||
"github.com/cosmos/cosmos-sdk/server"
|
||||
"github.com/cosmos/cosmos-sdk/wire"
|
||||
|
|
Loading…
Reference in New Issue