The CIDER "Tour" Project

In our tour of CIDER we will be working with a Clojure project created for this presentation called "cider-tour". The project resides in the code/clj/cider-tour/ directory within the GitHub repo that you cloned.

FYI

The base directory structure and initial files for the cider-tour project were generated by running the lein command to generate a Leiningen project from the standard application template:

$ lein new app cider-tour

The project.clj file

In Emacs open the project.clj file for the cider-tour project. This is the Leiningen project file (similar to a Maven POM file) that defines the project configuration (dependencies, plugins, build profiles, etc.) Below is a screenshot of the cider-tour project.clj file:

Screenshot - project.clj

project.clj for cider-tour project

The cider-tour project has a dependency on Clojure 1.8.0. Like Maven and similar build automation tools, Leiningen auto-downloads project dependencies on first-use.

Project Directory Structure

Below is a screenshot of the project files generated by Leiningen with brief descriptions:

Directory Structure

Project Directory Structure

Descriptions

File/Directory Description
README.md Project summary documentation
LICENSE Project license
CHANGELOG.md Change Log
project.clj Leiningen project file
doc/ Project documentation root
src/ Source code root
src/cider-tour/core.clj Application entry point- contains "main" function
test/ Unit test source root
test/cider-tour/core.clj/ Unit test for core.clj

results matching ""

    No results matching ""