https://github.com/pcj/stackb-ts-proto-example
Example usage of stackb/rules_proto with minimal stephanh/ts-proto compilation
https://github.com/pcj/stackb-ts-proto-example
Last synced: 6 months ago
JSON representation
Example usage of stackb/rules_proto with minimal stephanh/ts-proto compilation
- Host: GitHub
- URL: https://github.com/pcj/stackb-ts-proto-example
- Owner: pcj
- Created: 2021-10-29T16:25:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-30T01:17:24.000Z (over 4 years ago)
- Last Synced: 2025-02-01T07:41:22.452Z (over 1 year ago)
- Language: Starlark
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# stackb-ts-proto-example
Minimal example of using the [stackb/rules_proto
v2_prerelease](https://github.com/stackb/rules_proto/tree/v2_prerelease) with
the [stephenh/ts-proto](https://github.com/stephenh/ts-proto) plugin.
# Usage
```bash
$ bazel build //proto:thing_ts_proto_compile
```
To regenerate or update the BUILD file:
```bash
$ rm proto/BUILD.bazel # not needed to update it, but to demonstrate that it can be created from scratch
$ bazel run //:gazelle
```