Skip to content

Instantly share code, notes, and snippets.

@alendit
Created August 27, 2015 11:47
Show Gist options
  • Save alendit/358b318c9b041c551b5f to your computer and use it in GitHub Desktop.
Save alendit/358b318c9b041c551b5f to your computer and use it in GitHub Desktop.
project.clj
(defproject modern-cljs "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/cljs" "src/clj"]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.48"]
[compojure "1.4.0"]]
:plugins [[lein-cljsbuild "1.1.0"]
[lein-ring "0.9.6"]]
:ring {:handler modern-cljs.core/handler}
:hooks [leiningen.cljsbuild]
:cljsbuild {:builds
[{:source-paths ["src/cljs"]
:compiler {
:output-to "resources/public/js/modern.js"
:clean-targets ["out/"]
:optimizations :whitespace
:pretty-print true}}]}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment