1

update .build.yml, remove hangzig

This commit is contained in:
2021-06-19 16:45:33 +03:00
committed by Motiejus Jakštys
parent a3606b7404
commit b5c8f85ece
4 changed files with 33 additions and 68 deletions

12
build-and-file Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
# 'bazel' binary is stored in $HOME in builds.sr.ht.
export PATH=$PATH:$HOME
bazel build "$@"
execpath=$(bazel aquery "$@" 2>/dev/null | \
awk "/action 'GoLink/{f=1};/Outputs: / &&f{print;exit}" | \
awk -F'\\[|\\]' '{print $2}')
file "$execpath" | tee /dev/stderr