Skip to content

Commit 38e1065

Browse files
committed
Go: Document return values for Autobuild
1 parent 65c654e commit 38e1065

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/extractor/autobuilder/autobuilder.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ var BuildScripts = []BuildScript{
9494
// Autobuild attempts to detect build systems based on the presence of build scripts from the
9595
// list in `BuildScripts` and run the corresponding command. This may invoke zero or more
9696
// build scripts in the order given by `BuildScripts`.
97+
// Returns `scriptSuccess` which indicates whether a build script was successfully executed.
98+
// Returns `scriptsExecuted` which contains the names of all build scripts that were executed.
9799
func Autobuild() (scriptSuccess bool, scriptsExecuted []string) {
98100
scriptSuccess = false
99101
scriptsExecuted = []string{}

0 commit comments

Comments
 (0)