Switch remote deploy to vendored source builds

Move remote deployment to a vendored source bundle built on the target host via Docker so redeploys no longer require local cross-compilation or host Go installation.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
GitHub Actions
2026-05-08 12:19:18 +08:00
parent bb27566e38
commit c1a0fe2949
1320 changed files with 497125 additions and 11 deletions

25
vendor/github.com/leaanthony/go-ansi-parser/options.go generated vendored Normal file
View File

@@ -0,0 +1,25 @@
package ansi
// ParseOption specifies parse option.
type ParseOption struct {
ignoreUnexpectedCode bool
ansiForegroundColor string
ansiBackgroundColor string
}
// WithIgnoreInvalidCodes disables returning an error on invalid ANSI code.
func WithIgnoreInvalidCodes() ParseOption {
return ParseOption{ignoreUnexpectedCode: true}
}
// WithDefaultForegroundColor specifies default foreground code (ANSI 39).
// See ColourMap variable and foreground color codes 30-37.
func WithDefaultForegroundColor(ansiColor string) ParseOption {
return ParseOption{ansiForegroundColor: ansiColor}
}
// WithDefaultBackgroundColor specifies default foreground code (ANSI 49).
// See ColourMap variable and foreground color codes 30-37.
func WithDefaultBackgroundColor(ansiColor string) ParseOption {
return ParseOption{ansiBackgroundColor: ansiColor}
}