tools-build 2021-08-13

Alex Miller (Clojure team) 2021-08-13T17:14:00.000200Z

@alexmiller has joined the channel

Alex Miller (Clojure team) 2021-08-13T17:14:00.000300Z

set the channel description: Discussion about https://github.com/clojure/tools.build

@tvaughan has joined the channel

@seancorfield has joined the channel

@ghadi has joined the channel

@mpenet has joined the channel

@clj149 has joined the channel

@ddouglass has joined the channel

@erp12 has joined the channel

@dorab has joined the channel

I want build/write-file to not pr-str the :content. If I pass :content as a string, it then pr-strs the string, which is not what I want. The use case is that I want the file created by build/write-file to end in a newline. Is that possible?

Alex Miller (Clojure team) 2021-08-13T18:20:51.006100Z

I logged as https://clojure.atlassian.net/browse/TBUILD-15 and I'm planning to look at some tools.build stuff later today

It may be too late for this, but it might be best if the :content was just passed to spit directly, without pr-str. That way, if folks want the previous behavior they can always :content (pr-str foo).

Alex Miller (Clojure team) 2021-08-13T18:38:16.007200Z

we can always make more attributes :)

Sure. That has the advantage of being backwards-compatible.

@vlaaad has joined the channel

@kenny has joined the channel

@jaret has joined the channel

@dcj has joined the channel

@mike1452 has joined the channel

Alex Miller (Clojure team) 2021-08-13T22:18:02.008800Z

io.github.clojure/tools.build {:git/tag "v0.1.8" :git/sha "38d2780"} is now available • write-file - TBUILD-15 - add :string option • write-pom - TBUILD-13 - add :scm options to write scm properties

Why the gh group ID? If I recall correctly all the other "tools" repos are on org.clojure

Alex Miller (Clojure team) 2021-08-14T11:57:28.015300Z

It’s available as a git dep and the url is automatically inferred in this format

oh right, that makes sense

Very nice! Updated both HoneySQL and next.jdbc to use this and write scm > tag when building the JAR.