aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/main.go')
-rw-r--r--cmd/mbf/main.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 5dd4e8a0..dd5ee624 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -548,6 +548,29 @@ func main() {
"Write the resulting distribution to the named directory",
)
}
+ {
+ var flagOutput string
+ _ci.NewCommand(
+ "race",
+ "Request distribution tarball (race) for the specified source directory",
+ func(args []string) error {
+ if len(args) != 2 {
+ return errors.New("race requires 2 arguments")
+ }
+
+ return ci.Path(cm.base).MakeDistRace(
+ ctx,
+ os.Stdout,
+ flagOutput,
+ args[0], args[1],
+ )
+ },
+ ).Flag(
+ &flagOutput,
+ "o", command.StringFlag("."),
+ "Write the resulting distribution to the named directory",
+ )
+ }
c.NewCommand(
"keygen",