Skip to content

Commit

Permalink
prep for v0.4.1; updates build-clj, tools.build
Browse files Browse the repository at this point in the history
  • Loading branch information
seancorfield committed Nov 8, 2021
1 parent 98f21fb commit 728d512
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Changes

* v0.4.next in progress
* v0.4.1 -- 2021-11-08
* Clarify coordinates for templates in **More General Usage** in the `README`.
* Update `build-clj` to v0.5.3 and `tools.build` to v0.6.3.

* v0.4.0 0fb18a6 -- 2021-10-11
* Add `:raw` mode for copying non-text assets and/or suppressing textual substitution.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ A new, simpler alternative to `clj-new`.
Intended to be installed as a "tool" (Clojure CLI 1.10.3.933 or later).

```bash
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.0"}' :as new
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.1"}' :as new
```

> `clj-new` inherently carries along all of the baggage of `lein new` and `boot new`, including a modified chunk of Leiningen itself, as well as depending on Pomegranate for loading dependencies (so as to be compatible with Leiningen and Boot), and Stencil for the variable substitution in templates. The recently-released `tools.build` library, from the core Clojure team, provides all of the functionality needed to create new projects from templates, so `deps-new` aims to provide a wrapper around `tools.build`, some standard templates "out of the box", and machinery to allow you to easily write your own templates, mostly with no code needed at all.
Expand Down
4 changes: 2 additions & 2 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{:paths ["src" "resources"]
:deps
{io.github.clojure/tools.build {:git/tag "v0.6.1" :git/sha "515b334"}}
{io.github.clojure/tools.build {:git/tag "v0.6.3" :git/sha "4a1b53a"}}

:tools/usage
{:ns-default org.corfield.new}

:aliases
{:test
{:extra-paths ["test"]
:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.0.0-alpha2"}
:extra-deps {com.github.seancorfield/expectations {:mvn/version "2.0.137"}
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}
:exec-fn cognitect.test-runner.api/test}}}
2 changes: 1 addition & 1 deletion resources/org/corfield/new/app/root/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
:exec-fn greet
:exec-args {:name "Clojure"}}
:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.5.2" :git/sha "8f75b81"}}
{:git/tag "v0.5.3" :git/sha "dbf7321"}}
:ns-default build}
:test {:extra-paths ["test"]
:extra-deps {org.clojure/test.check {:mvn/version "1.1.0"}
Expand Down
2 changes: 1 addition & 1 deletion resources/org/corfield/new/lib/root/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}}
:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.5.2" :git/sha "8f75b81"}}
{:git/tag "v0.5.3" :git/sha "dbf7321"}}
:ns-default build}}}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}}
:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.5.2" :git/sha "8f75b81"}}
{:git/tag "v0.5.3" :git/sha "dbf7321"}}
:ns-default build}}}
2 changes: 1 addition & 1 deletion resources/org/corfield/new/template/root/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ As originally generated, it will produce a new library project when run:
Assuming you have installed `deps-new` as your `new` "tool" via:

```bash
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.0"}' :as new
clojure -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.1"}' :as new
```

> Note: once the template has been published (to a public git repo or to Clojars, etc), the invocation will be the same, except the `:local/root` dependency will be replaced by a git or Maven-like coordinate.
Expand Down
2 changes: 1 addition & 1 deletion resources/org/corfield/new/template/root/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "48c3c67"}}}
:build {:deps {io.github.seancorfield/build-clj
{:git/tag "v0.5.2" :git/sha "8f75b81"}}
{:git/tag "v0.5.3" :git/sha "dbf7321"}}
:ns-default build}}}

0 comments on commit 728d512

Please sign in to comment.