Skip to content

Question About Statement In Manual regarding :source-paths #950

Answered by thheller
hammad-awan asked this question in Q&A
Discussion options

You must be logged in to vote

Well, it is my subjective opinion so YMMV. Template authors do many things that I don't necessarily agree with but that doesn't mean its wrong. I'll likely just remove that sentence entirely but let me expand on it a little bit.

Clojure and ClojureScript are both namespaced systems so I recommend keeping things sorted by namespace. I much prefer to have a directory structure like

.
└── src
    └── main
        └── my
            └── project
                ├── server
                │   ├── db.clj
                │   └── web.clj
                ├── server.clj
                ├── shared.cljc
                └── ui
                    ├── components
                    │   └── foo.cljs
    …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by hammad-awan
Comment options

You must be logged in to vote
2 replies
@thheller
Comment options

@thheller
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants