mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
- Updated various dependencies in go.mod and go.sum files, including cloud.google.com/go/compute/metadata to v0.5.2, google.golang.org/grpc to v1.69.2, and google.golang.org/protobuf to v1.36.1. - Refactored gRPC service definitions to use the latest protoc-gen-go and protoc versions, ensuring compatibility with the latest gRPC-Go features. - Introduced a new logger utility in core/utils/logger.go to improve logging capabilities across the application. - Added a README.md for gRPC setup and compilation guidance, enhancing developer experience. - Improved the Python installation script to handle version listing more effectively and ensure user-specific environment setup.
15 lines
234 B
Bash
Executable File
15 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -L $0 ]
|
|
then
|
|
BASE_DIR=`dirname $(readlink $0)`
|
|
else
|
|
BASE_DIR=`dirname $0`
|
|
fi
|
|
base_path=$(cd $BASE_DIR/..; pwd)
|
|
|
|
cd $base_path && \
|
|
protoc -I ./proto \
|
|
--go_out=. \
|
|
--go-grpc_out=. \
|
|
./proto/**/*.proto |