We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81a5800 + 874a426 commit 7df239dCopy full SHA for 7df239d
go/codeql-tools/identify-environment.cmd
@@ -0,0 +1,8 @@
1
+@echo off
2
+SETLOCAL EnableDelayedExpansion
3
+
4
+type NUL && "%CODEQL_EXTRACTOR_GO_ROOT%/tools/%CODEQL_PLATFORM%/go-autobuilder.exe" --identify-environment
5
6
+exit /b %ERRORLEVEL%
7
8
+ENDLOCAL
go/codeql-tools/identify-environment.sh
@@ -0,0 +1,10 @@
+#!/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
9
10
+"$CODEQL_EXTRACTOR_GO_ROOT/tools/$CODEQL_PLATFORM/go-autobuilder" --identify-environment
0 commit comments