-
Notifications
You must be signed in to change notification settings - Fork 172
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
Support Bazel build #34
Conversation
Thanks for your submission, we also make use of Bazel at improbable 😀 Please can you modify the Travis build configuration to ensure that the hazel build is also executed? Thanks |
b3fc26a
to
e6fccf8
Compare
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.
One small change to gitignore requested. It also would appear that the Bazel build failed on Travis
Thanks!
.gitignore
Outdated
@@ -1,10 +1,12 @@ | |||
.vscode | |||
node_modules | |||
node-debug.log | |||
package-lock.json |
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.
This change is unrelated, please revert
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.
Done
7c1f057
to
eaecf15
Compare
Got Travis CI working now. |
"babel": "^6.5.2", | ||
"chai": "^3.5.0", | ||
"mocha": "^3.2.0", | ||
"source-map-support": "^0.4.14", | ||
"tslint": "^4.5.1", | ||
"tslint": "^5.9.1", |
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.
The old version would depend on an old version of tsutils, which is incompatible with the new Bazel typescript rules.
Support building with Bazel.
To build it, run
The built artifact will be at
bazel-bin/bin/protoc-gen-ts
.This would facilitate supporting Protobuf in Bazel-built ts projects. This CL is made on top of the original WIP but seemingly abandoned PR #24.
/cc @pcj @MarcusLongmuir