Browse Source

Fix ABCI proto generation scripts for Linux

Signed-off-by: Thane Thomson <connect@thanethomson.com>
thane/7655-vote-extensions
Thane Thomson 2 years ago
parent
commit
f3188e543c
No known key found for this signature in database GPG Key ID: 19811391D676EE45
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      scripts/abci-gen.sh
  2. +1
    -1
      scripts/protopackage.sh

+ 2
- 2
scripts/abci-gen.sh View File

@ -12,9 +12,9 @@ cp ./proto/tendermint/types/types.proto.intermediate ./proto/tendermint/types/ty
MODNAME="$(go list -m)"
find ./proto/tendermint -name '*.proto' -not -path "./proto/tendermint/abci/types.proto" \
-exec sh ./scripts/protopackage.sh {} "$MODNAME" ';'
-exec ./scripts/protopackage.sh {} "$MODNAME" ';'
sh ./scripts/protopackage.sh ./proto/tendermint/abci/types.proto $MODNAME "abci/types"
./scripts/protopackage.sh ./proto/tendermint/abci/types.proto $MODNAME "abci/types"
make proto-gen


+ 1
- 1
scripts/protopackage.sh View File

@ -1,4 +1,4 @@
#!/usr/bin/sh
#!/bin/bash
set -eo pipefail
# This script appends the "option go_package" proto option to the file located at $FNAME.


Loading…
Cancel
Save