1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 19:22:08 +02:00
tldr/pages/common/lein.md
Agniva De Sarker 74ce43b08d lein: beautify page
- made REPL as upper case
- wrapped -main in quotes rather than backticks
2017-10-31 09:39:24 +05:30

23 lines
462 B
Markdown

# lein
> Manage clojure projects with declarative configuration.
- 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`