|
|
|
|
(defproject NoteHub "0.1.0-SNAPSHOT"
|
|
|
|
|
:description "A free and anonymous hosting for markdown pages."
|
|
|
|
|
:dependencies [[org.clojure/clojure "1.4.0"]
|
|
|
|
|
[org.clojure/clojure-contrib "1.2.0"]
|
|
|
|
|
[hiccup "1.0.0"]
|
|
|
|
|
[cssgen "0.2.6"]
|
|
|
|
|
[jayq "0.1.0-alpha2"]
|
|
|
|
|
[fetch "0.1.0-alpha2"]
|
|
|
|
|
[clj-redis "0.0.12"]
|
|
|
|
|
[org.pegdown/pegdown "1.1.0"]
|
|
|
|
|
[noir "1.3.0-beta1"]]
|
|
|
|
|
:plugins [[lein-cljsbuild "0.1.10"]]
|
|
|
|
|
:cljsbuild {
|
|
|
|
|
:builds [{
|
|
|
|
|
; The path to the top-level ClojureScript source directory:
|
|
|
|
|
:source-path "src-cljs"
|
|
|
|
|
; The standard ClojureScript compiler options:
|
|
|
|
|
; (See the ClojureScript compiler documentation for details.)
|
|
|
|
|
:crossovers [NoteHub.crossover]
|
|
|
|
|
:compiler {
|
|
|
|
|
:output-dir "resources/public/cljs/"
|
|
|
|
|
:output-to "resources/public/cljs/main.js" ; default: main.js in current directory
|
|
|
|
|
:optimizations :whitespace
|
|
|
|
|
:pretty-print true}}]}
|
|
|
|
|
:main NoteHub.server)
|
|
|
|
|
|