<< Back to previous view

[CLJS-655] Require main entry point (file) to serve as compilation root Created: 01/Nov/13  Updated: 02/Dec/14  Resolved: 02/Dec/14

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Chas Emerick Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None


Per David Nolen in #clojure, a single file should serve as a compilation root, rather than the compiler needing to scan a given directory for files.

This leaves a couple of questions:

1. Are discovered dependencies then only ever loaded from the classpath?
2. If so, what does command-line (i.e. bin/cljsc compilation look like? Force people to export CLASSPATH appropriately, provide a set of alternative source paths via arguments, or other?

This would yield a fair bit of breakage downstream, e.g. cljsbuild.

Comment by David Nolen [ 01/Nov/13 7:10 PM ]

It's probably worth maintaining the source directory option of cljs.closure/build for some time with a deprecation warning to reduce breakage.

Comment by David Nolen [ 02/Dec/14 8:23 AM ]

superseded by CLJS-851

Generated at Tue Jan 23 18:05:19 CST 2018 using JIRA 4.4#649-r158309.