https://github.com/hkupty/defteron.builder
Protobuf compilation for tools.deps
https://github.com/hkupty/defteron.builder
Last synced: 3 months ago
JSON representation
Protobuf compilation for tools.deps
- Host: GitHub
- URL: https://github.com/hkupty/defteron.builder
- Owner: hkupty
- License: epl-1.0
- Created: 2020-04-23T09:01:18.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-11-11T11:05:43.000Z (over 3 years ago)
- Last Synced: 2025-01-24T04:41:15.311Z (5 months ago)
- Language: Clojure
- Size: 10.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# defteron.builder
Protobuf compilation for tools.deps
## Usage
Add `defteron.builder` in your `deps.edn` file:
```clojure
;; In your deps.edn
;; :aliases {
:protoc {:extra-paths ["proto"]
:extra-deps {defteron.builder {:git/url "https://github.com/hkupty/defteron.builder"
:sha "6e5b753e935d0d73fa78d29f8b56ff4680709a02"}}
:main-opts ["-m" "defteron.builder"
"-p" "proto" ;; Same as :extra-paths, where your .proto files are stored
"-c" "classes" ;; Where compiled java representation will be put
]}
;;}
```And then call it from the command line: `clojure -Aprotoc`