Since the last post here there are are the beginnings of some rules at: 
https://github.com/simuons/rules_clojure (I put in some PRs needed to make 
them work with latest versions of Bazel).

Separate from that effort I have been looking at whether it is possible to 
structure the Bazel project to get by using the built in Java rules. This 
appears possible if you're willing to live with java / javatests as 
directory names for the necessary classpath handling.

Example repo here: https://github.com/markdingram/bazel-clojure

with:
- external maven deps
- REPL
- Testing (Kaocha)
- AOT


There's also a larger example that adds some Typescript via the AWS CDK to 
deploy a Clojure Lambda.

https://github.com/markdingram/bazel-cdk-clojure


Mark

On Sunday, 17 June 2018 22:50:12 UTC+1, Gregg Reynolds wrote:
>
>
>
> On Mon, Jan 29, 2018, 10:16 AM Kiril Videlov <kir...@runbox.no 
> <javascript:>> wrote:
>
>> Hello,
>> I have been looking at the Bazel <https://bazel.build> build tool for a 
>> multi-language mono-repo and I was wondering if anybody has tried it in the 
>> context of Clojure projects. I have only found the lein-monolith 
>> <https://github.com/amperity/lein-monolith/> plugin which appears to 
>> address a similar use case sans the polyglot requirement. Do you think 
>> there is any value in attempting to build a rule set 
>> <https://docs.bazel.build/versions/master/skylark/rules.html> similar to 
>> the bazel rules for Scala <https://github.com/bazelbuild/rules_scala>?
>>
>
> Hi Kiril,
>
> Any news? What did you decide?
>
> Gregg
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojure/aca69fb4-e96a-4651-8be8-99c9d6b19999o%40googlegroups.com.

Reply via email to