tvl-depot/boilerplate/clojure
William Carroll 0c71fc9d1d Drop support for dir-locals.nix, <nixpkgs>, etc.
In the spirit of Marie Kondo, I'm tidying up!

TL;DR:
- Prefer .envrc `use_nix` and delete all dir-locals.nix files
- Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer
  referencing each with briefcase.third_party.{pkgs,unstable,depot}
- Delete nixBufferFromShell function since I was only using that in
  dir-locals.nix files
2020-08-20 11:26:32 +01:00
..
src Support //boilerplate/clojure 2020-05-04 12:32:50 +01:00
.envrc Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01:00
.gitignore Support //boilerplate/clojure 2020-05-04 12:32:50 +01:00
project.clj Support //boilerplate/clojure 2020-05-04 12:32:50 +01:00
README.md Update Clojure boilerplate docs 2020-06-16 11:51:57 +01:00
shell.nix Drop support for dir-locals.nix, <nixpkgs>, etc. 2020-08-20 11:26:32 +01: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