1

add diagnostics

This commit is contained in:
2021-06-10 18:51:59 +03:00
committed by Motiejus Jakštys
parent 61491dac5e
commit 20931794d1
2 changed files with 11 additions and 0 deletions

6
getpath Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
exec bazel aquery \
--platforms "$1" "$2" 2>/dev/null | \
awk "/action 'GoLink/{f=1};/Outputs: / &&f{print;exit}" | \
awk -F'\\[|\\]' '{print $2}'