Learn the most popular Clojure project tool
Leiningen is a very powerful tool. The estimates are that 98% of all Clojure projects use Leiningen. But it's a powerful tool and can be difficult to learn. Like most good tools, once you learn it, you put it on your side, and it starts to work for you.
In this course, you'll learn:
- How to start a new project
- How to configure projects
- Working with dependencies
- Using different profiles
- Using templates
- Leiningen's release workflow
- And more
Want this course?
Love it or leave it guarantee
If you don't learn as much from this course as you thought, just ask for a refund within 30 days and I'll give you your money back.
1. Creating a New Project
We create a new Leiningen project and examine the contents. We also create one using a template.
The project.clj at the root of Leiningen projects is where all of your project configuration and metadata is defined. There are many, many options. We review the most important and discover a great resource for knowing what options are available.
Leiningen does a good job managing dependencies. We discuss three different places for finding the current version and some commands and plugins that can help you manage your versions.
Leiningen uses the "profiles" concept to organize configuration. Each task is run under zero or more profiles. In this lesson, we discuss how to use profiles and how they are merged.
Templates are project scaffolding that you can use to get started quickly. You can also create your own templates.
6. Releasing New Versions
Leiningen has a system for scripting the process for releasing new versions. We review that here.