Commit 0ea117b
committed
CLJS-3255: cljs.build.api/build doesn't work with single arity / 2-arity with nil
While actually supported make a small change so that `source` argument to cljs.build/build
can actually be nil in all cases. If `:main` is supplied, `:optimizations` `:none`, and
source nil, go ahead supply source as that will always be what the user intended.
Note cljs.cli already fixed this problem some time ago but at a higher level.1 parent b7895ae commit 0ea117b
File tree
2 files changed
+17
-1
lines changed- src
- main/clojure/cljs
- test/clojure/cljs
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3109 | 3109 | | |
3110 | 3110 | | |
3111 | 3111 | | |
3112 | | - | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
3113 | 3116 | | |
3114 | 3117 | | |
3115 | 3118 | | |
3116 | 3119 | | |
| 3120 | + | |
3117 | 3121 | | |
3118 | 3122 | | |
3119 | 3123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
719 | 719 | | |
720 | 720 | | |
721 | 721 | | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
0 commit comments