mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Go: Document return values for Autobuild
This commit is contained in:
@@ -94,6 +94,8 @@ var BuildScripts = []BuildScript{
|
|||||||
// Autobuild attempts to detect build systems based on the presence of build scripts from the
|
// Autobuild attempts to detect build systems based on the presence of build scripts from the
|
||||||
// list in `BuildScripts` and run the corresponding command. This may invoke zero or more
|
// list in `BuildScripts` and run the corresponding command. This may invoke zero or more
|
||||||
// build scripts in the order given by `BuildScripts`.
|
// build scripts in the order given by `BuildScripts`.
|
||||||
|
// Returns `scriptSuccess` which indicates whether a build script was successfully executed.
|
||||||
|
// Returns `scriptsExecuted` which contains the names of all build scripts that were executed.
|
||||||
func Autobuild() (scriptSuccess bool, scriptsExecuted []string) {
|
func Autobuild() (scriptSuccess bool, scriptsExecuted []string) {
|
||||||
scriptSuccess = false
|
scriptSuccess = false
|
||||||
scriptsExecuted = []string{}
|
scriptsExecuted = []string{}
|
||||||
|
|||||||
Reference in New Issue
Block a user