KurokuLabs / margo

GoSublime + MarGo reborn. I'm just sayin'
MIT License
31 stars 5 forks source link

Configure build tags to tests #81

Closed eminetto closed 5 years ago

eminetto commented 5 years ago

How can I configure the test command to add build flags, like:

go test -tags dev -failfast -v '-test.run=^TestAddInvite$'

DisposaBoy commented 5 years ago

Add them to the golang.TestCmds reducer's TestArgs .

See example https://github.com/DisposaBoy/GoSublime/blob/development/src/margo.sh/extension-example/extension-example.go#L136