This commit is contained in:
2022-05-17 01:56:44 +03:00
commit 3a9b8c8468
117 changed files with 7175 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
package cmd
import (
"github.com/aerokube/images/build"
"github.com/spf13/cobra"
)
var (
edgeCmd = &cobra.Command{
Use: "edge",
Short: "build Microsoft Edge image",
RunE: func(cmd *cobra.Command, args []string) error {
req := build.Requirements{
BrowserSource: build.BrowserSource(browserSource),
BrowserChannel: browserChannel,
DriverVersion: driverVersion,
NoCache: noCache,
TestsDir: testsDir,
RunTests: test,
IgnoreTests: ignoreTests,
Tags: tags,
PushImage: push,
}
edge := &build.Edge{req}
return edge.Build()
},
}
)