Created
December 8, 2013 00:10
-
-
Save piatra/7851658 to your computer and use it in GitHub Desktop.
Example configuration file for a CLJS Node project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject node "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"} | |
:dependencies [[org.clojure/clojure "1.5.1"] | |
[org.clojure/clojurescript "0.0-1978"]] | |
:plugins [[lein-cljsbuild "0.3.4"]] | |
:cljsbuild { | |
:builds { | |
:dev { | |
:source-paths ["src-cljs"] | |
:compiler {:output-to "dest/index.js" | |
:optimizations :simple | |
:target :nodejs}} | |
:prod { | |
:source-paths ["src-cljs"] | |
:compiler {:output-to "dest/index.opt.js" | |
:optimizations :advanced | |
:target :nodejs}}}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment