tvl-depot/users/wpcarro/boilerplate/clojure
Vincent Ambo 019f8fd211 subtree(users/wpcarro): docking briefcase at '24f5a642'
git-subtree-dir: users/wpcarro
git-subtree-mainline: 464bbcb15c
git-subtree-split: 24f5a642af
Change-Id: I6105b3762b79126b3488359c95978cadb3efa789
2021-12-14 02:15:47 +03:00
..
src subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
.envrc subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
.gitignore subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
project.clj subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
README.md subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00
shell.nix subtree(users/wpcarro): docking briefcase at '24f5a642' 2021-12-14 02:15:47 +03:00

Clojure Boilerplate

This boilerplate uses lein to manage the project.

Files to change

To use this boilerplate, run the following in a shell:

$ cp ~/briefcase/boilerplate/clojure path/to/new-project

After running the above command, change the following files to remove the placeholder values:

  • README.md: Change the title; change the description; drop "Files to change"; keep "Getting started"
  • project.clj: Change title
  • src/main.clj: Change :doc; drop main/foo

Getting started

From a shell, run:

$ lein repl

From Emacs, navigate to a source code buffer and run:

M-x cider-jack-in