1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-31 12:17:58 +01:00

lein: add page (#1593)

This commit is contained in:
Starbeamrainbowlabs 2017-10-29 13:14:53 +00:00 committed by GitHub
commit f0acd53e64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

23
pages/common/lein.md Normal file
View 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_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`