Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33105330
D5714.1768476299.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D5714.1768476299.diff
View Options
diff --git a/docs/dev_environment.md b/docs/dev_environment.md
--- a/docs/dev_environment.md
+++ b/docs/dev_environment.md
@@ -843,15 +843,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/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 11:24 AM (15 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5937529
Default Alt Text
D5714.1768476299.diff (2 KB)
Attached To
Mode
D5714: [native] Removing `codegen-grpc` from native
Attached
Detach File
Event Timeline
Log In to Comment