From 533ca21734a83e69ccab9b9a3942d4bc11124b49 Mon Sep 17 00:00:00 2001 From: OrBaruk Date: Fri, 27 Oct 2017 17:30:44 -0200 Subject: [PATCH] lein: add page --- pages/common/lein.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/lein.md diff --git a/pages/common/lein.md b/pages/common/lein.md new file mode 100644 index 000000000..f0cadee69 --- /dev/null +++ b/pages/common/lein.md @@ -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`