mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
15 lines
358 B
Bash
Executable File
15 lines
358 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
if [ "$CODEQL_PLATFORM" != "linux64" ] && [ "$CODEQL_PLATFORM" != "osx64" ] ; then
|
|
echo "Automatic build detection for $CODEQL_PLATFORM is not implemented."
|
|
exit 1
|
|
fi
|
|
|
|
# Some legacy environment variables used by the autobuilder.
|
|
LGTM_SRC="$(pwd)"
|
|
export LGTM_SRC
|
|
|
|
"$CODEQL_EXTRACTOR_GO_ROOT/tools/$CODEQL_PLATFORM/go-autobuilder"
|