sg: ease scip-ctags-dev installation (#58410)

This commit is contained in:
Jean-Hadrien Chabran 2023-11-17 19:43:34 +01:00 committed by GitHub
parent f2f2afae1b
commit afee4a18d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -235,6 +235,12 @@ commands:
export GCFLAGS='all=-N -l'
fi
# Ensure scip-ctags-dev is installed to avoid prompting the user to
# install it manually.
if [ ! -f $(./dev/scip-ctags-install.sh which) ]; then
./dev/scip-ctags-install.sh
fi
go build -gcflags="$GCFLAGS" -o .bin/symbols github.com/sourcegraph/sourcegraph/cmd/symbols
checkBinary: .bin/symbols
env: