tldr/pages/common/lein.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

25 lines
507 B
Markdown

# lein
> Manage Clojure projects with declarative configuration.
> More information: <https://leiningen.org>.
- Generate scaffolding for a new project based on a template:
`lein new {{template_name}} {{project_name}}`
- Start a REPL session either with the project or standalone:
`lein repl`
- Run the project's `-main` function with optional args:
`lein run {{args}}`
- Run the project's tests:
`lein test`
- Package up the project files and all its dependencies into a jar file:
`lein uberjar`