snippetbashTip
lein — Manage Clojure projects with declarative configuration. More information: <https://manned.org/lein>.
Viewed 0 times
declarativecommandleinmanagecliprojectswithclojure
Problem
How to use the
lein command: Manage Clojure projects with declarative configuration. More information: <https://manned.org/lein>.Solution
lein — Manage Clojure projects with declarative configuration. More information: <https://manned.org/lein>.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 replRun the project's
-main function with optional args:lein run {{args}}Run the project's tests:
lein testPackage up the project files and all its dependencies into a jar file:
lein uberjarCode Snippets
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 replRun the project's `-main` function with optional args
lein run {{args}}Run the project's tests
lein testPackage up the project files and all its dependencies into a jar file
lein uberjarContext
tldr-pages: common/lein
Revisions (0)
No revisions yet.