mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:53:52 +02:00
lein: add page
This commit is contained in:
parent
a7c936e3ec
commit
533ca21734
1 changed files with 23 additions and 0 deletions
23
pages/common/lein.md
Normal file
23
pages/common/lein.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# lein
|
||||
|
||||
> Manage clojure projects with declarative configuration
|
||||
|
||||
- Generate scaffolding for a new project based on a template:
|
||||
|
||||
`lein new {{template}} {{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 dependencies into a jar file:
|
||||
|
||||
`lein uberjar`
|
Loading…
Add table
Reference in a new issue