Skip to content

Commit

Permalink
Move development server tools from user to dev ns.
Browse files Browse the repository at this point in the history
The user namespace is apparently magic in ways that mess up cljx.

lynaghk/cljx#31
  • Loading branch information
bonkydog committed Feb 7, 2015
1 parent 9caacd8 commit 13d6583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 83 deletions.
16 changes: 5 additions & 11 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}

:source-paths ["src/clj" "src/cljs"]
:source-paths ["src/clj"]

:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-SNAPSHOT"] ; local build of master
Expand Down Expand Up @@ -46,20 +46,20 @@

:uberjar-name "stack_spike.jar"

:cljsbuild {:builds {:app {:source-paths ["src"]
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:main "stack-spike.dev"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
:asset-path "/js/out"
:optimizations :none
:pretty-print true
:source-map true}}
:iso {:source-paths ["src"]
:iso {:source-paths ["src/cljs"]
:compiler {:main "stack-spike.om-app"
:output-to "resources/public/js/main-iso.js"
:optimizations :advanced}}}}

:profiles {:dev {:repl-options {:init-ns user
:profiles {:dev {:repl-options {:init-ns dev
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}

:plugins [[lein-figwheel "0.1.4-SNAPSHOT"]]
Expand All @@ -71,13 +71,7 @@
:env {:is-dev true}

:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"]}}}}
:iso {
:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"]
:compiler {:optimizations :advanced
:output-to "resources/public/js/main-advanced.js"
:source-map false
:pretty-print false
:output-dir "resources/public/js"}}}}}

:uberjar {:hooks [leiningen.cljsbuild]
:env {:production true}
:omit-source true
Expand Down
72 changes: 0 additions & 72 deletions src/clj/user.clj

This file was deleted.

0 comments on commit 13d6583

Please sign in to comment.