Skip to content

Commit f243446

Browse files
committed
Fix Makefile for linux os, regen
1 parent 0c1d2cc commit f243446

File tree

7 files changed

+34
-2545
lines changed

7 files changed

+34
-2545
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gen-client: copy-proto
1111
-I proto \
1212
--python_out=./pyinjective/proto \
1313
--grpc_python_out=./pyinjective/proto \
14-
$$(find $${dir} -type file -name '*.proto'); \
14+
$$(find ./$${dir} -type f -name '*.proto'); \
1515
done; \
1616
rm -rf proto
1717
echo "import os\nimport sys\n\nsys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))" > pyinjective/proto/__init__.py
@@ -20,7 +20,7 @@ copy-proto:
2020
rm -rf pyinjective/proto
2121
mkdir -p proto/exchange
2222
cp -r ../injective-core/proto/injective proto/
23-
cp -r ../injective-core/third_party/proto/ proto/
23+
cp -r ../injective-core/third_party/proto/* proto/
2424
@for file in $(EXCHANGE_PROTO_FILES); do \
2525
cp "$${file}" proto/exchange/; \
2626
done

0 commit comments

Comments
 (0)