Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

# [Unreleased]
## Added
- Use of latest deps-new: retrieve license info from [SPDX](https://spdx.dev/), default is CC-BY-SA-4.0, change with `:license/id`.
- Bumped clojure version to 1.12.4.

# 2026-02-05

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,12 @@ Override the defaults used to create a project using command line options
* `:name` and value to create a project with a different name, e.g. `github-org/project-name`
* `:target-dir` to specify a directory to create the project in
* `:overwrite` an existing project with the same `:target-dir name`, `true` updates, `:delete` deletes existing project and replaces it with new project
* `:license/id` to specify a different license than the default CC-BY-SA-4.0, see the [SPDX license list](https://spdx.org/licenses/) for a list of available license identifiers.

```shell
clojure -T:project/create :template practicalli/service \
:name practicalli/gameboard :target-dir gameboard-service
:name practicalli/gameboard :target-dir gameboard-service \
:license/id MIT
```


Expand All @@ -78,7 +80,7 @@ clojure -T:project/create :template practicalli/service \
* [practicalli/application](https://github.com/practicalli/project-templates/issues/4) - general application, limited code
* [practicalli/minimal](https://github.com/practicalli/project-templates/issues/19) - Clojure CLI project, tools-build, kaocha test runner alias, Make tasks, GitHub quality checks workflow
* TODO: practicalli/api - production grade API service (reitit-ring, clojure.spec validation)
* TODO: practicalli/library - general library, deploymnent to Maven/Clojars
* TODO: practicalli/library - general library, deployment to Maven/Clojars
* TODO: [practicalli/blog](https://github.com/practicalli/project-templates/issues/1) - cryogen project with Practicalli Customisation
* TODO: practicalli/jetty - basic web server
* TODO: practicalli/httpkit - basic web server
Expand Down
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:extra-deps {org.clojure/test.check {:mvn/version "1.1.3"}
;; https://github.com/seancorfield/deps-new/
io.github.seancorfield/deps-new
{:git/tag "v0.10.3" :git/sha "2c012c4"}}}
{:git/tag "v0.11.1" :git/sha "dd459f0"}}}

;; Test runner - local and CI
;; call with `:watch? true` argument to start file watcher and re-run tests on saved changes
Expand Down
428 changes: 1 addition & 427 deletions resources/practicalli/application/root/LICENSE

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions resources/practicalli/application/root/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## Project Status

TODO: add status badges for <https://{{scm/domain}}/{{developer}}/{{scm/repo>}} workflows and issues
TODO: add status badges for <https://{{scm/domain}}/{{developer}}/{{scm/repo}}> workflows and issues

{{description}}

Expand Down Expand Up @@ -140,4 +140,5 @@ Or build and run the service via the multi-stage `Dockerfile` configuration as p

Copyright © {{now/year}} {{developer}}

[Creative Commons Attribution Share-Alike 4.0 International](http://creativecommons.org/licenses/by-sa/4.0/")
Distributed under the
[{{license/name}}]({{license/url}})
4 changes: 2 additions & 2 deletions resources/practicalli/application/src/app.clj.template
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(let [team (first args)]
(mulog/set-global-context!
{:app-name "{{top/ns}} {{main/ns}}" :version "{{version}}"})
(mulog/log ::application-starup :arguments args)
(mulog/log ::application-startup :arguments args)
(if team
(greet team)
(greet))))
Expand All @@ -44,7 +44,7 @@


;; ---------------------------------------------------------
;; Rick Comment
;; Rich Comment
#_{:clj-kondo/ignore [:redefined-var]}
(comment

Expand Down
10 changes: 9 additions & 1 deletion resources/practicalli/application/template.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@
;; ---------------------------------------------------------
;; Version substitutions

:clojure-version "1.12.3"
:clojure-version "1.12.4"
;; ---------------------------------------------------------

;; ---------------------------------------------------------
;; Default license
;; Creative Commons Attribution Share Alike 4.0 International
;; https://spdx.org/licenses/CC-BY-SA-4.0.html

:license/id "CC-BY-SA-4.0"
;; ---------------------------------------------------------

;; ---------------------------------------------------------
Expand Down
Loading