A Leiningen template for creating flat layout project.
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 is a website building & hosting documentation for Clojure/Script libraries
× close