Skip to content

Commit

Permalink
Update protocgen.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfeloopinc authored Dec 31, 2024
1 parent 9104f01 commit 1664765
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/protocgen.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash

# --------------
# Commands to run locally
# docker run --network host --rm -v $(CURDIR):/workspace --workdir /workspace ghcr.io/cosmos/proto-builder:v0.11.6 sh ./protocgen.sh
Expand All @@ -18,8 +17,12 @@ for dir in $proto_dirs; do
done
done

# move proto files to the right places
cp -r github.com/lyfeblocnetwork/lyfebloc/v*/* ./
# Move proto files to the right places
# Copy generated files from the proto directory to the root directory
cp -r proto/lyfebloc/* ./

# Clean up
rm -rf github.com

# Run additional generation scripts
sh ./scripts/protocgen-pulsar.sh

0 comments on commit 1664765

Please sign in to comment.