Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create application template #4

Closed
practicalli-johnny opened this issue Apr 10, 2023 · 0 comments
Closed

Create application template #4

practicalli-johnny opened this issue Apr 10, 2023 · 0 comments
Assignees

Comments

@practicalli-johnny
Copy link
Contributor

practicalli-johnny commented Apr 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant