A Clojure project is a directory that contains source files, test files, resources, documentation, and project metadata. Source files are primarily from Clojure, but a project may contain Java source files as well. Leiningen has a default project template that can be used to quickly create a Clojure project structure using the lein new <project-name>
command:
# Create a new project 'playground' % lein new playground Generating a project called playground based on the 'default' template. The default template is intended for library projects, not applications. To see other templates (app, plugin, etc), try `lein help new`. # Show the 'playground' project directory structure % tree playground playground ├── CHANGELOG.md ├── doc │ └── intro.md ├── LICENSE ├── project.clj ├── README.md ├── resources ├── src │ └── playground │ └── core.clj └── test └── playground └── core_test.clj 6 directories, 7 files
Each Clojure project contains a project metadata...