Attempting to fix tests during pull request to master repo

This commit is contained in:
Sridhar Ganesan 2018-07-16 22:53:48 +02:00
parent dedb2e4278
commit 6410d4da15
5 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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

View File

@ -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 (

View File

@ -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

View File

@ -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"