move client/txgen to cmd/client/txgen

change build scripts accordingly

Signed-off-by: Leo Chen <leo@harmony.one>
pull/197/head
Leo Chen 6 years ago
parent 611efbbad4
commit 9cb0552b72
  1. 2
      cmd/client/txgen/main.go
  2. 0
      cmd/client/txgen/txgen/account_txs_generator.go
  3. 2
      go_executable_build.sh
  4. 2
      test/deploy.sh

@ -11,7 +11,7 @@ import (
proto_node "github.com/harmony-one/harmony/api/proto/node" proto_node "github.com/harmony-one/harmony/api/proto/node"
"github.com/harmony-one/harmony/client" "github.com/harmony-one/harmony/client"
"github.com/harmony-one/harmony/client/txgen/txgen" "github.com/harmony-one/harmony/cmd/client/txgen/txgen"
"github.com/harmony-one/harmony/consensus" "github.com/harmony-one/harmony/consensus"
"github.com/harmony-one/harmony/core/types" "github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/internal/newnode" "github.com/harmony-one/harmony/internal/newnode"

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
declare -A SRC declare -A SRC
SRC[benchmark]=benchmark.go SRC[benchmark]=benchmark.go
SRC[txgen]=client/txgen/main.go SRC[txgen]=cmd/client/txgen/main.go
SRC[beacon]=cmd/beaconchain/main.go SRC[beacon]=cmd/beaconchain/main.go
SRC[wallet]=client/wallet/main.go SRC[wallet]=client/wallet/main.go

@ -88,7 +88,7 @@ cleanup
pushd $ROOT pushd $ROOT
echo "compiling ..." echo "compiling ..."
go build -o bin/benchmark go build -o bin/benchmark
go build -o bin/txgen client/txgen/main.go go build -o bin/txgen cmd/client/txgen/main.go
go build -o bin/beacon cmd/beaconchain/main.go go build -o bin/beacon cmd/beaconchain/main.go
popd popd

Loading…
Cancel
Save