-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace common.sh with Rust code #358
Conversation
Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
Ooops, I didn't know |
I'm fine with closing this but I'd like to listen to others' opinions. |
seems like a win to me? |
This should fix #355 |
panic!( | ||
"Invalid version of protoc (required 3.1.x), or protoc not installed\n\nstdout:\n\n{}", | ||
String::from_utf8_lossy(&output.stdout) | ||
"Invalid version of protoc (required 3.1.x, get {}.{}.x).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Invalid version of protoc (required 3.1.x, get {}.{}.x).", | |
"Invalid version of protoc (required 3.1.x, got {}.{}.x).", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please leave common.sh
so the Go build can pass. We can fix #355 with this.
If you'd prefer, could you fix the functionality for the Go build? :)
The rest LGTM.
Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest LGTM
PTAL @nrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
* Replace common.sh with Rust code Signed-off-by: ice1000 <ice1000kotlin@foxmail.com> * Add common.sh's content back Signed-off-by: ice1000 <ice1000kotlin@foxmail.com>
Signed-off-by: ice1000 ice1000kotlin@foxmail.com
So we have fewer files in the root directory in this repo and no longer depend on
sed
.