LEININGEN(1) | General Commands Manual | LEININGEN(1) |
lein - Automate Clojure projects
lein [-o] [-U] [TASK [ARGS]]
lein [-h|--help]
lein [-v|--version]
Leiningen is for automating Clojure projects without setting your hair on fire.
Working on Clojure projects with tools designed for Java can be an exercise in frustration. With Leiningen, you just write Clojure.
lein help will show the complete list of tasks, while lein help TASK shows usage for a specific one.
lein help tutorial has a detailed walk-through of the various tasks, but the most commonly-used are:
Leiningen reads its configuration from the project.clj file in your project root. Either use lein new to create a fresh project from which to work, or see the exhaustive list of configuration options with lein help sample.
You can customize your project map further with profiles; see lein help profiles.
Check https://codeberg.org/leiningen/leiningen/issues to see if your problem is a known issue. If not, please open a new issue on that site. Please include the output of lein version as well as your project.clj file and as much of the relevant code from your project as possible.
Copyright (C) 2009-2017 Phil Hagelberg and contributors.
Distributed under the Eclipse Public License, the same as Clojure uses. See the file /usr/share/doc/leiningen/copyright.
This manpage is written by Phil Hagelberg <technomancy@gmail.com>
2017 August 10 |