Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bsp_server/indexer/scip.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _scip_java(target, ctx):
for jar in rule_jars:
# Mimic arguments from java decompiler plugin in Intellij
# mirror: https://github.com/fesh0r/fernflower
decompiled_jar = ctx.actions.declare_file(jar.short_path + "_dec.jar")
decompiled_jar = ctx.actions.declare_file("out/" + jar.short_path + "_dec.jar")
args = [
"-target_file=" + decompiled_jar.path,
"-timeout=" + timeout,
Expand Down Expand Up @@ -219,7 +219,7 @@ def _index_sources(
return [scip_file_mutated, sha256_file]

def _index_jar(ctx, target, jar, flow_prefix = "_index_jar"):
unpacked = ctx.actions.declare_directory(jar.short_path + flow_prefix + "-unpacked")
unpacked = ctx.actions.declare_directory("out/" + jar.short_path + flow_prefix + "-unpacked")
ctx.actions.run_shell(
inputs = [jar],
outputs = [unpacked],
Expand All @@ -234,7 +234,7 @@ def _index_jar(ctx, target, jar, flow_prefix = "_index_jar"):
progress_message = "Extracting jar {jar}".format(jar = jar.path),
)

sources_file = ctx.actions.declare_file(jar.short_path + "_sources.txt")
sources_file = ctx.actions.declare_file("out/" + jar.short_path + "_sources.txt")
ctx.actions.run_shell(
command = """
touch "{sources_file}";
Expand Down
Loading