Documentation
¶
Index ¶
- Constants
- func IsWorkspace(pth string) bool
- type FileRef
- type FileRefType
- type Group
- type Workspace
- func (w Workspace) FileLocations() ([]string, error)
- func (w Workspace) ProjectFileLocations() ([]string, error)
- func (w Workspace) Scheme(name string) (*xcscheme.Scheme, string, error)
- func (w Workspace) SchemeBuildSettings(scheme, configuration string, customOptions ...string) (serialized.Object, error)
- func (w Workspace) Schemes() (map[string][]xcscheme.Scheme, error)
Constants ¶
View Source
const (
// XCWorkspaceExtension ...
XCWorkspaceExtension = ".xcworkspace"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileRef ¶
type FileRef struct {
Location string `xml:"location,attr"`
}
FileRef ...
func (FileRef) TypeAndPath ¶
func (f FileRef) TypeAndPath() (FileRefType, string, error)
TypeAndPath ...
type FileRefType ¶
type FileRefType string
FileRefType ...
const ( AbsoluteFileRefType FileRefType = "absolute" GroupFileRefType FileRefType = "group" ContainerFileRefType FileRefType = "container" )
Known FileRefTypes
type Group ¶
type Group struct { Location string `xml:"location,attr"` FileRefs []FileRef `xml:"FileRef"` Groups []Group `xml:"Group"` }
Group ...
type Workspace ¶
type Workspace struct { FileRefs []FileRef `xml:"FileRef"` Groups []Group `xml:"Group"` Name string Path string }
Workspace represents an Xcode workspace
func (Workspace) FileLocations ¶
FileLocations ...
func (Workspace) ProjectFileLocations ¶
ProjectFileLocations ...
func (Workspace) SchemeBuildSettings ¶
func (w Workspace) SchemeBuildSettings(scheme, configuration string, customOptions ...string) (serialized.Object, error)
SchemeBuildSettings ...
Click to show internal directories.
Click to hide internal directories.