Commit e89950e
committed
CLJS-1193: recompile dependents fails to work when not auto-building
cljs.analyzer:
- ns-dependents, allow supplying custom ns-map. The custom ns-map
can supply ns-info map values with :requires entries in a variety of the
formats present in the compiler.
cljs.compiler:
- add *inputs* dynamic var, will hold map from ns -> ns-info
- compile-file, merge *inputs* into compiler environment namespaces
- compile-root, sort compiler inputs into dependency order. bind
*inputs* to a map from ns syms -> inputs (ana/parse-ns results)
cljs.analyzer-tests:
- add ana/ns-dependents test for new ns-map argument1 parent 5994526 commit e89950e
File tree
3 files changed
+54
-24
lines changed- src/clj/cljs
- test/clj/cljs
3 files changed
+54
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
557 | 571 | | |
558 | 572 | | |
559 | 573 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
1101 | 1103 | | |
1102 | 1104 | | |
1103 | 1105 | | |
1104 | | - | |
| 1106 | + | |
| 1107 | + | |
1105 | 1108 | | |
1106 | 1109 | | |
1107 | 1110 | | |
| |||
1114 | 1117 | | |
1115 | 1118 | | |
1116 | 1119 | | |
1117 | | - | |
| 1120 | + | |
1118 | 1121 | | |
1119 | 1122 | | |
1120 | 1123 | | |
1121 | 1124 | | |
1122 | 1125 | | |
1123 | 1126 | | |
1124 | | - | |
1125 | | - | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1126 | 1131 | | |
1127 | 1132 | | |
1128 | 1133 | | |
1129 | 1134 | | |
1130 | 1135 | | |
1131 | | - | |
| 1136 | + | |
1132 | 1137 | | |
1133 | 1138 | | |
1134 | 1139 | | |
| |||
1158 | 1163 | | |
1159 | 1164 | | |
1160 | 1165 | | |
1161 | | - | |
1162 | | - | |
1163 | | - | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | | - | |
1169 | | - | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
1170 | 1181 | | |
1171 | 1182 | | |
1172 | 1183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
335 | 340 | | |
336 | 341 | | |
337 | 342 | | |
| |||
0 commit comments