add sources, add visx to release flow
All checks were successful
Release / Build & publish (push) Successful in 1m26s

This commit is contained in:
2026-04-06 19:50:16 +03:00
parent 9b9a790618
commit 00e1c9195c
6 changed files with 65 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ type File struct {
BuildDarwin string
Timeout time.Duration
Binary string // executable name produced by build (default: solution)
Sources string // glob pattern for source files, expanded as $SOURCES in build
NormalizeCRLF bool // strip \r before matching stdout/stderr/outFiles
TrimTrailingWS bool // trim trailing whitespace on each line before matching

View File

@@ -128,6 +128,17 @@ func (p *Parser) parseFile() (*File, error) {
}
f.Binary = s.Value
case "sources":
p.advance()
if _, err := p.expect(TOKEN_ASSIGN); err != nil {
return nil, err
}
s, err := p.expect(TOKEN_STRING)
if err != nil {
return nil, err
}
f.Sources = s.Value
case "normalize_crlf":
p.advance()
if _, err := p.expect(TOKEN_ASSIGN); err != nil {