An open API service indexing awesome lists of open source software.

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

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`