diff --git a/packages/proto-signing/scripts/define-proto.sh b/packages/proto-signing/scripts/define-proto.sh index 16735b8b35..ac077ff0d4 100755 --- a/packages/proto-signing/scripts/define-proto.sh +++ b/packages/proto-signing/scripts/define-proto.sh @@ -1,13 +1,12 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" TMP_DIR="./tmp" JS_SOURCE_FILE="$TMP_DIR/codecimpl.js" DEFINITIONS_FILE="$TMP_DIR/codecimpl.d.ts" OUTPUT_DIR="./src/codec/generated/" - yarn pbts "$JS_SOURCE_FILE" -o "$DEFINITIONS_FILE" # Remove comments after using them for the .d.ts # Note "When input files are specified on the command line, tsconfig.json files are ignored." (https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) diff --git a/packages/proto-signing/scripts/get-proto.sh b/packages/proto-signing/scripts/get-proto.sh index b9ff708c73..646888438f 100755 --- a/packages/proto-signing/scripts/get-proto.sh +++ b/packages/proto-signing/scripts/get-proto.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" PROTO_DIR="./proto" COSMOS_DIR="$PROTO_DIR/cosmos" diff --git a/packages/proto-signing/scripts/predefine-proto.sh b/packages/proto-signing/scripts/predefine-proto.sh index 2cc2f5b62c..0f23dfc714 100755 --- a/packages/proto-signing/scripts/predefine-proto.sh +++ b/packages/proto-signing/scripts/predefine-proto.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" GENERATED_DIR="./tmp" ROOT_PROTO_DIR="./proto/cosmos/cosmos-sdk" diff --git a/packages/stargate/scripts/define-proto.sh b/packages/stargate/scripts/define-proto.sh index 16735b8b35..ac077ff0d4 100755 --- a/packages/stargate/scripts/define-proto.sh +++ b/packages/stargate/scripts/define-proto.sh @@ -1,13 +1,12 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" TMP_DIR="./tmp" JS_SOURCE_FILE="$TMP_DIR/codecimpl.js" DEFINITIONS_FILE="$TMP_DIR/codecimpl.d.ts" OUTPUT_DIR="./src/codec/generated/" - yarn pbts "$JS_SOURCE_FILE" -o "$DEFINITIONS_FILE" # Remove comments after using them for the .d.ts # Note "When input files are specified on the command line, tsconfig.json files are ignored." (https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) diff --git a/packages/stargate/scripts/get-proto.sh b/packages/stargate/scripts/get-proto.sh index b9ff708c73..646888438f 100755 --- a/packages/stargate/scripts/get-proto.sh +++ b/packages/stargate/scripts/get-proto.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" PROTO_DIR="./proto" COSMOS_DIR="$PROTO_DIR/cosmos" diff --git a/packages/stargate/scripts/predefine-proto.sh b/packages/stargate/scripts/predefine-proto.sh index 5c05e91c12..d41d16329f 100755 --- a/packages/stargate/scripts/predefine-proto.sh +++ b/packages/stargate/scripts/predefine-proto.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" GENERATED_DIR="./tmp" ROOT_PROTO_DIR="./proto/cosmos/cosmos-sdk" diff --git a/scripts/add_nonces.sh b/scripts/add_nonces.sh index bcc0e29e0b..aa89abc7b1 100755 --- a/scripts/add_nonces.sh +++ b/scripts/add_nonces.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" # This must be called from repo root as current directory @@ -10,7 +10,7 @@ for packagedir in ./packages/*; do if [[ -d "$packagedir" ]]; then mkdir -p "$packagedir/nonces" echo "Directory used to trigger lerna package updates for all packages" \ - > "$packagedir/nonces/README.txt" + >"$packagedir/nonces/README.txt" touch "$packagedir/nonces/$NONCE" echo "Added nonce to package $packagedir" fi diff --git a/scripts/docs/copy_docs.sh b/scripts/docs/copy_docs.sh index 0acd357b06..359f0db20d 100755 --- a/scripts/docs/copy_docs.sh +++ b/scripts/docs/copy_docs.sh @@ -1,6 +1,6 @@ #!/bin/bash set -o errexit -o nounset -o pipefail -command -v shellcheck > /dev/null && shellcheck "$0" +command -v shellcheck >/dev/null && shellcheck "$0" version="latest" out_dir="./docs_deployment" @@ -21,11 +21,11 @@ cp docs/cosmjs-tree.png "$assets_dir" echo '

Package documentation

' echo '

The following packages can be used as libraries.

' echo '