Skip to content

Create application template #4

@practicalli-johnny

Description

@practicalli-johnny

Create practicalli/application template for use with seancorfield/deps-new project

dev/user.clj for development tools ✅

  • hotloading libraries with add-libs
  • portal data inspector
  • mulog and tap publisher
  • find-deps library search

Common dependencies ✅

  • Latest Clojure release
  • mulog for logging

clojure-version is set to latest stable release in the template.edn file and can be passed a specific Clojure version for the new project

clojure -T:project/create :clojure-version '"1.12.0-alpha"'

REPL Reloaded workflow

  • kaocha test runner & kaochatests.edn configuration
  • namespace reloading (tools.namespace)
  • add-libs for hot-loading (Clojure 1.11.x and 1.12.x supported)
  • portal data inspector & mulog portal publisher
  • GitHub Workflows for configuration lint and code quality checks
  • Dockerfile and compose configurations

Editor support ✅

  • Emacs .dir-locals.el configuration with recommended aliases

Common aliases ✅

  • :run/service - run the project using clojure.exec
  • :dev/reloaded - include dev/user.clj file and associated development tools
  • :test/env - paths and deps for test runners
  • :test/run - run kaocha test runner (pass :watch? true to enable automated test runs locally)

Related: practicalli/clojure#404

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions