January 2017
Intermediate to advanced
565 pages
13h 46m
English
Leiningen can help us create a new project using templates, there is a wide variety of templates available and you can build and distribute your own in Maven.
Some of the most common types of templates are:
jar library (the default template)Let's create a new Clojure command-line app and run it:
lein new app getting-started cd getting-started lein run # Hello, world!
Leiningen is similar to other Java development tools; it uses a similar convention and allows for heavy customizations in the project.clj file.
If you are familiar with Maven or Gradle, you can think of it as pom.xml or build.gradle respectively.
The following screenshot is the project ...
Read now
Unlock full access