<< Back to previous view

[CLJS-742] Compilation with :output-file option set fails Created: 03/Jan/14  Updated: 26/Apr/15  Resolved: 26/Apr/15

Status: Closed
Project: ClojureScript
Component/s: None
Affects Version/s: 0.0-3196
Fix Version/s: 0.0-3255

Type: Defect Priority: Trivial
Reporter: Timothy Pratley Assignee: Timothy Pratley
Resolution: Completed Votes: 0
Labels: None

Attachments: File CLJS-742.diff     File cljs-742-rebased.diff    
Patch: Code


./bin/cljsc hello.cljs '{:output-file "foo.js"}'

a file called foo.js

Compiler throws an internal error

The correct option is :output-to
:output-file might be removable (it is broken, nobody is using it?)
Further analysis required to determine if it is useful to keep.

Comment by Timothy Pratley [ 03/Jan/14 12:14 PM ]

Fixes handling of compiling one IJavaScript or many

Comment by Timothy Pratley [ 08/Oct/14 11:03 PM ]

Patch is attached, updating ticket to reflect that

Comment by David Nolen [ 27/Mar/15 7:44 AM ]

Can we get a patch rebased to master? Thanks.

Comment by Timothy Pratley [ 04/Apr/15 1:05 PM ]

updated for latest master

Comment by David Nolen [ 26/Apr/15 5:42 AM ]

Looking into this some more, is there some documentation somewhere that states that :output-file is a valid option to bin/cljsc.

Comment by David Nolen [ 26/Apr/15 5:56 AM ]

fixed https://github.com/clojure/clojurescript/commit/a9474ead5761032ed8503886b9695bd3caa98424

Generated at Tue Dec 01 15:56:51 CST 2015 using JIRA 4.4#649-r158309.