Move src-node and src-browser into subdirectories of src.

This commit is contained in:
Richard Newman 2016-09-09 09:34:15 -07:00
parent ac253bfea0
commit b5aec2e890
37 changed files with 6 additions and 5 deletions

View file

@ -11,11 +11,12 @@
[com.taoensso/tufte "1.0.2"] [com.taoensso/tufte "1.0.2"]
[jamesmacaulay/cljs-promises "0.1.0"]] [jamesmacaulay/cljs-promises "0.1.0"]]
:source-paths ["src/common"]
:cljsbuild {:builds :cljsbuild {:builds
{ {
:release-node :release-node
{ {
:source-paths ["src-node" "src"] :source-paths ["src/node" "src/common"]
:assert false :assert false
:compiler :compiler
{ {
@ -43,12 +44,12 @@
;; There's no point in generating a source map -- it'll be wrong ;; There's no point in generating a source map -- it'll be wrong
;; due to wrapping. ;; due to wrapping.
{ {
:source-paths ["src-browser" "src"] :source-paths ["src/browser" "src/common"]
:assert false :assert false
:compiler :compiler
{ {
:elide-asserts true :elide-asserts true
:externs ["src-browser/externs.js"] :externs ["src/browser/externs.js"]
:language-in :ecmascript5 :language-in :ecmascript5
:language-out :ecmascript5 :language-out :ecmascript5
:optimizations :advanced :optimizations :advanced
@ -64,7 +65,7 @@
:notify-command ["release-browser/wrap_bare.sh"]} :notify-command ["release-browser/wrap_bare.sh"]}
:advanced :advanced
{:source-paths ["src-node" "src"] {:source-paths ["src/node" "src/common"]
:compiler :compiler
{ {
:language-in :ecmascript5 :language-in :ecmascript5
@ -80,7 +81,7 @@
:test :test
{ {
:source-paths ["src-node" "src" "test"] :source-paths ["src/node" "src/common" "test"]
:compiler :compiler
{ {
:language-in :ecmascript5 :language-in :ecmascript5