File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
src/main/scala/higherkindness/rules_scala/workers/zinc/compile Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 18
18
def phase_zinc_compile (ctx , g ):
19
19
toolchain = ctx .toolchains ["//rules/scala:toolchain_type" ]
20
20
analysis_store = ctx .actions .declare_file ("{}/analysis_store.gz" .format (ctx .label .name ))
21
+ analysis_store_text = ctx .actions .declare_file ("{}/analysis_store.text.gz" .format (ctx .label .name ))
21
22
mains_file = ctx .actions .declare_file ("{}.jar.mains.txt" .format (ctx .label .name ))
22
23
used = ctx .actions .declare_file ("{}/deps_used.txt" .format (ctx .label .name ))
23
24
tmp = ctx .actions .declare_directory ("{}/tmp" .format (ctx .label .name ))
@@ -76,6 +77,7 @@ def phase_zinc_compile(ctx, g):
76
77
g .classpaths .jar ,
77
78
mains_file ,
78
79
analysis_store ,
80
+ analysis_store_text ,
79
81
used ,
80
82
tmp ,
81
83
] + g .semanticdb .outputs
Original file line number Diff line number Diff line change @@ -335,17 +335,13 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] {
335
335
)
336
336
}
337
337
338
- // This will be true if the `--worker_verbose` Bazel flag is set
339
- if (task.verbosity >= 10 ) {
340
- val analysisStoreText = AnalysisUtil .getAnalysisStore(
341
- new File (pathString.substring(0 , pathString.length() - 3 ) + " .text.gz" ),
342
- true ,
343
- readWriteMappers,
344
- )
345
-
346
- analysisStoreText.set(AnalysisContents .create(resultAnalysis, compileResult.setup))
347
- }
338
+ val analysisStoreText = AnalysisUtil .getAnalysisStore(
339
+ new File (pathString.substring(0 , pathString.length() - 3 ) + " .text.gz" ),
340
+ true ,
341
+ readWriteMappers,
342
+ )
348
343
344
+ analysisStoreText.set(AnalysisContents .create(resultAnalysis, compileResult.setup))
349
345
analysisStore.set(AnalysisContents .create(resultAnalysis, compileResult.setup))
350
346
351
347
// create used deps
You can’t perform that action at this time.
0 commit comments