add sources, add visx to release flow
All checks were successful
Release / Build & publish (push) Successful in 1m26s
All checks were successful
Release / Build & publish (push) Successful in 1m26s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user