Liking cljdoc? Tell your friends :D

flat-layout

A Leiningen template for creating flat layout project.

Clojars Project

Usage

To generate a flat layout leiningen project, just type this.

$> lein new flat-layout <project-name>

You'll get a project having following layout.

<project-name>/
  project.clj
  <project-name>.clj

(If you need another Clojure version, append --template-version x.x.x argument.)

You can run the created project.

$> cd <project-name>
$> lein run

That's all.

This is convenience if you want to write some small Gist snippet having external dependencies which should have been written in its project.clj. After writing your snippet, you can git push to Gist directly.

(Gist doesn't allow us to upload a project including sub directories.)

Can you improve this documentation?Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close