diff --git a/docs/dev_environment.md b/docs/dev_environment.md --- a/docs/dev_environment.md +++ b/docs/dev_environment.md @@ -818,15 +818,6 @@ The input Flow schemas are located in `native/schema`. -### Codegen for gRPC - -In order to generate the codegen files for gRPC, you should run the following command: - -``` -cd shared -yarn codegen-grpc -``` - # Debugging ## React Developer Tools diff --git a/docs/nix_shared_workflows.md b/docs/nix_shared_workflows.md --- a/docs/nix_shared_workflows.md +++ b/docs/nix_shared_workflows.md @@ -32,15 +32,6 @@ The input Flow schemas are located in `native/schema`. -### Codegen for gRPC - -In order to generate the codegen files for gRPC, you should run the following command: - -``` -cd native -yarn codegen-grpc -``` - # Working with Phabricator ## Creating a new diff diff --git a/native/package.json b/native/package.json --- a/native/package.json +++ b/native/package.json @@ -17,7 +17,6 @@ "logfirebase": "adb shell logcat | grep -E -i 'FIRMessagingModule|firebase'", "redux-devtools": "redux-devtools --port=8043", "codegen-jsi": "flow && babel codegen/src/ -d codegen/dist/ && node codegen/dist", - "codegen-grpc": "protoc -I=cpp/CommonCpp/grpc/protos --cpp_out=cpp/CommonCpp/grpc/_generated --grpc_out=cpp/CommonCpp/grpc/_generated --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` cpp/CommonCpp/grpc/protos/*.proto && ./scripts/mark-generated.sh", "react-native": "PATH=/usr/bin:\"$PATH\" react-native" }, "devDependencies": { diff --git a/shared/package.json b/shared/package.json deleted file mode 100644 --- a/shared/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "shared", - "version": "0.0.1", - "private": true, - "license": "BSD-3-Clause", - "scripts": { - "codegen-grpc": "protoc -I=protos --cpp_out=protos/_generated --grpc_out=protos/_generated --plugin=protoc-gen-grpc=`which grpc_cpp_plugin` protos/*.proto && ./scripts/mark-generated.sh" - } -} diff --git a/shared/scripts/mark-generated.sh b/shared/scripts/mark-generated.sh deleted file mode 100755 --- a/shared/scripts/mark-generated.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -sed -i '' 's/\/\/ Generated by /\/\/ @generated by /g' protos/_generated/*