From 38d51cf9cd3697d31f68a71f2255515fe6c15765 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Fri, 6 Oct 2017 14:54:59 +0400 Subject: [PATCH 1/2] [tm-monitor/tm-bench] fewer platforms also update dist command to produce SHA256 sums file --- tm-bench/Makefile | 9 +++++---- tm-monitor/Makefile | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/tm-bench/Makefile b/tm-bench/Makefile index e985dadb6..a3300faea 100644 --- a/tm-bench/Makefile +++ b/tm-bench/Makefile @@ -20,19 +20,20 @@ test: go test build-all: tools + rm -rf ./dist gox -verbose \ -ldflags "-X main.version=${VERSION}" \ - -os="linux darwin windows freebsd openbsd netbsd" \ - -arch="amd64 386 armv5 armv6 armv7 arm64" \ + -os="linux darwin windows" \ + -arch="amd64 386 armv6 arm64" \ -osarch="!darwin/arm64" \ -output="dist/{{.OS}}-{{.Arch}}/{{.Dir}}" . dist: build-all cd dist && \ $(DIST_DIRS) cp ../LICENSE {} \; && \ - $(DIST_DIRS) cp ../README.md {} \; && \ + $(DIST_DIRS) cp ../README.rst {} \; && \ $(DIST_DIRS) tar -zcf tm-bench-${VERSION}-{}.tar.gz {} \; && \ - $(DIST_DIRS) zip -r tm-bench-${VERSION}-{}.zip {} \; && \ + shasum -a256 ./*.tar.gz > "./tm-bench_${VERSION}_SHA256SUMS" && \ cd .. build-docker: diff --git a/tm-monitor/Makefile b/tm-monitor/Makefile index 3e99f7f79..3cfc9976a 100644 --- a/tm-monitor/Makefile +++ b/tm-monitor/Makefile @@ -21,19 +21,20 @@ test: @go test $(PACKAGES) build-all: tools + rm -rf ./dist gox -verbose \ -ldflags "-X main.version=${VERSION}" \ - -os="linux darwin windows freebsd openbsd netbsd" \ - -arch="amd64 386 armv5 armv6 armv7 arm64" \ + -os="linux darwin windows" \ + -arch="amd64 386 armv6 arm64" \ -osarch="!darwin/arm64" \ -output="dist/{{.OS}}-{{.Arch}}/{{.Dir}}" . dist: build-all cd dist && \ $(DIST_DIRS) cp ../LICENSE {} \; && \ - $(DIST_DIRS) cp ../README.md {} \; && \ + $(DIST_DIRS) cp ../README.rst {} \; && \ $(DIST_DIRS) tar -zcf tm-monitor-${VERSION}-{}.tar.gz {} \; && \ - $(DIST_DIRS) zip -r tm-monitor-${VERSION}-{}.zip {} \; && \ + shasum -a256 ./*.tar.gz > "./tm-monitor_${VERSION}_SHA256SUMS" && \ cd .. build-docker: From 88693636979cd0ee908047ac404240c499a903ea Mon Sep 17 00:00:00 2001 From: Zach Ramsay Date: Fri, 6 Oct 2017 08:33:23 -0400 Subject: [PATCH 2/2] update readme info --- README.md | 2 +- tm-monitor/README.rst | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tm-monitor/README.rst diff --git a/README.md b/README.md index 61d3486c8..70c7f5c34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # tools -Tools for working with tendermint and associated technologies +Tools for working with tendermint and associated technologies. See the documentation at: http://tendermint.readthedocs.io/en/master/index.html#tendermint-tools diff --git a/tm-monitor/README.rst b/tm-monitor/README.rst new file mode 100644 index 000000000..f073ae956 --- /dev/null +++ b/tm-monitor/README.rst @@ -0,0 +1 @@ +NOTE: Please see the ``tm-bench`` directory for the README about tm-monitor. You can also find the documentation at: http://tendermint.readthedocs.io