depot/third_party/tvl/users/wpcarro/boilerplate/clojure
Default email a291c8690a Project import generated by Copybara.
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
2022-05-19 16:39:52 +02:00
..
src Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.envrc Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.gitignore Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
project.clj Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
README.md Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
shell.nix Project import generated by Copybara. 2022-05-19 16:39:52 +02: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 -r . 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