xcodeargs

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

nolint:gochecknoglobals

Index

Constants

This section is empty.

Variables

View Source
var CacheArgs = map[string]string{
	"COMPILATION_CACHE_ENABLE_PLUGIN":               "YES",
	"COMPILATION_CACHE_ENABLE_DIAGNOSTIC_REMARKS":   "YES",
	"COMPILATION_CACHE_ENABLE_INTEGRATED_QUERIES":   "YES",
	"COMPILATION_CACHE_ENABLE_DETACHED_KEY_QUERIES": "YES",
	"SWIFT_ENABLE_COMPILE_CACHE":                    "YES",
	"SWIFT_ENABLE_EXPLICIT_MODULES":                 "YES",
	"SWIFT_USE_INTEGRATED_DRIVER":                   "YES",
	"CLANG_ENABLE_COMPILE_CACHE":                    "YES",
	"CLANG_ENABLE_MODULES":                          "YES",
}

Functions

This section is empty.

Types

type Default

type Default struct {
	Cmds         []*cobra.Command
	OriginalArgs []string
	// contains filtered or unexported fields
}

func NewDefault

func NewDefault(
	cmd *cobra.Command,
	originalArgs []string,
	logger log.Logger,
) *Default

func (Default) Args

func (p Default) Args(additional map[string]string) []string

func (Default) Command

func (p Default) Command() string

func (Default) ShortCommand

func (p Default) ShortCommand() string

type DefaultRunner

type DefaultRunner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(logger log.Logger, config xcelerate.Config) *DefaultRunner

func (*DefaultRunner) Run

func (runner *DefaultRunner) Run(ctx context.Context, args []string) RunStats

nolint: gosec

type RunStats

type RunStats struct {
	StartTime        time.Time
	Success          bool
	Error            error
	ExitCode         int
	DurationMS       int64
	XcodeVersion     string
	XcodeBuildNumber string
}

type XcodeArgs

type XcodeArgs interface {
	Args(additional map[string]string) []string
	Command() string
	ShortCommand() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL