From 75447ce0ad3dc364c138f745d3da9e923668ead8 Mon Sep 17 00:00:00 2001 From: "Dixing (Dex) Xu" Date: Wed, 7 Jul 2021 23:27:01 +0800 Subject: [PATCH] minor fix & update * start working on #14 & #94 * update command * add ignore file Signed-off-by: Dixing (Dex) Xu --- .gitignore | 1 + Makefile | 6 +++--- README.md | 2 +- docs/gettingstarted.md | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 1c96bb4f..ef657ec0 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.so *.dylib ./tape +tape # Test binary, build with `go test -c` *.test diff --git a/Makefile b/Makefile index 6f3d880b..a761252d 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ FABRIC_VERSION = latest INTERGATION_CASE = ANDLogic -BASE_VERSION = 0.0.2 -PREV_VERSION = 0.0.1 +BASE_VERSION = 0.1.3 +PREV_VERSION = 0.1.2 PROJECT_NAME = tape DOCKERIMAGE = guoger/tape @@ -35,7 +35,7 @@ GO_TAGS ?= export GO_LDFLAGS GO_TAGS FABRIC_VERSION INTERGATION_CASE -tape: +tape: @echo "Building tape program......" go build -tags "$(GO_TAGS)" -ldflags "$(GO_LDFLAGS)" ./cmd/tape diff --git a/README.md b/README.md index 2ed648c3..55aa1f40 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ You could get `tape` in three ways: #### Binary -Execute `./tape -c config.yaml -n 40000` to generate 40000 transactions to Fabric. +Execute `./tape run -c config.yaml -n 40000` to generate 40000 transactions to Fabric. #### Docker diff --git a/docs/gettingstarted.md b/docs/gettingstarted.md index 16221a43..863666f9 100644 --- a/docs/gettingstarted.md +++ b/docs/gettingstarted.md @@ -55,7 +55,7 @@ docker build -t guoger/tape:latest . 执行如下命令即可运行测试: ``` -./tape --config=config.yaml --number=40000 +./tape run --config=config.yaml --number=40000 ``` 该命令的含义是,使用 config.yaml 作为配置文件,向 Fabric 网络发送40000条交易进行性能测试。