In this section we will use Leiningen to create a new Clojure project. This project will be a simple salary calculator and have the following features:
If you prefer not to type in all the code, there is a complete project available at the Devoxx-Clojure-Code Github repository.
Clone the repository with the command git clone https://github.com/jr0cket/devoxx-clojure-code.git
Each section is committed to a seperate branch so you can see the project incrementally unfold. Branches can be listed with the command git branch
and you switch to a branch using the command git checkout name-of-branch
.
If you wish to merge a branch into master, checkout the master branch and use the command git merge name-of-branch