Documentation ¶
Index ¶
- Variables
- func GetBuildFileName(projectName string) string
- func GetBuildFilePath(projectPath, projectName string, targetOs string) string
- func IsBuildFileExist(projectPath string, projectName string, targetOs string) bool
- func PreRun(projectPath string) error
- func Run(f *Flags, config *raiden.Config, projectPath string) error
- type Flags
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildLogger hclog.Logger = logger.HcLog().Named("build")
Functions ¶
func GetBuildFileName ¶
func GetBuildFilePath ¶
func IsBuildFileExist ¶
Types ¶
type Flags ¶
The `type Flags struct` is defining a struct called `Flags`. This struct is used to store the values of command-line flags related to the target operating system and processor architecture.
func (*Flags) Bind ¶
The `Bind` method is used to bind the `Flags` struct to a `cobra.Command` object. It sets up the command-line flags for the `OS` and `Arch` fields of the `Flags` struct, allowing the user to specify the target operating system and processor architecture when running the command.
Click to show internal directories.
Click to hide internal directories.