Skip to content

Commit 171326d

Browse files
Merge pull request #92 from Tinder/issue_86
Switch to more performant source file query
2 parents 2fb7a33 + cd4f9ae commit 171326d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/bazel_diff/BazelClient.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public List<BazelTarget> queryAllTargets() throws IOException {
5555

5656
@Override
5757
public Map<String, BazelSourceFileTarget> queryAllSourcefileTargets() throws IOException, NoSuchAlgorithmException {
58-
return processBazelSourcefileTargets(performBazelQuery("kind('source file', deps(//...))"), true);
58+
return processBazelSourcefileTargets(performBazelQuery("kind('source file', //...:all-targets)"), true);
5959
}
6060

6161
private Map<String, BazelSourceFileTarget> processBazelSourcefileTargets(List<Build.Target> targets, Boolean readSourcefileTargets) throws IOException, NoSuchAlgorithmException {

src/main/java/com/bazel_diff/VersionProvider.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class VersionProvider implements IVersionProvider {
66
public String[] getVersion() throws Exception {
77
return new String[] {
8-
"2.1.1"
8+
"3.2.2"
99
};
1010
}
1111
}

0 commit comments

Comments
 (0)