Skip to content

Commit

Permalink
feat: rename files
Browse files Browse the repository at this point in the history
  • Loading branch information
keivanipchihagh committed Mar 18, 2024
1 parent 4d8e4fe commit 9575a23
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ cython_debug/
#.idea/

# other
src/
rpc/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# api-schema
# api-scheme
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash

working_dir=$(pwd)
proto_dirs=($(pwd)/protos) # ./protos/
python_dir=($(pwd)/src) # ./src/
proto_dirs=($(pwd)/protobufs) # ./protobufs/
python_dir=($(pwd)/rpc) # ./rpc/

# Create ./src/ dirctory
directory="src"
# Create ./rpc/ dirctory
directory="rpc"
if [ ! -d "$directory" ]; then
# Create the directory
mkdir -p "$directory"
Expand All @@ -14,7 +14,7 @@ else
echo "Directory '$directory' already exists."
fi

# Build *.proto files within the ./protos/ directory
# Build *.proto files within the ./protobufs/ directory
for file in $proto_dirs/*.proto; do
filename=$(basename "$file")
if echo "$filename" | grep -q "struct"; then
Expand Down

0 comments on commit 9575a23

Please sign in to comment.