tldr/pages/common/lein.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

507 B

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