Documentation ¶
Index ¶
- Constants
- func FilterRmNoBuild() func(src *Source) bool
- func FilterTargets(targets []string) func(src *Source) bool
- type EBuildTargetType
- type ESourceType
- type FilePasswordResolver
- type PasswordResolver
- type Source
- func (s *Source) AbsPath() string
- func (s *Source) CompileArgs(outputDir string, pwd string) (args []string)
- func (s *Source) DisplayName() string
- func (s *Source) ECodeDir() string
- func (s *Source) FromConfig() bool
- func (s *Source) Match(target string) bool
- func (s *Source) NoBuild() bool
- func (s *Source) OutputPath(outputDir string) string
- func (s *Source) RecoverESrcPath() string
- func (s *Source) SourceType() ESourceType
- func (s *Source) TargetType() EBuildTargetType
Constants ¶
View Source
const ( ESourceSrc ESourceType = 1 ESourceECom ESourceType = 3 EBuildTargetWindowsForm EBuildTargetType = 0 EBuildTargetWindowsConsole EBuildTargetType = 1 EBuildTargetWindowsDll EBuildTargetType = 2 EBuildTargetWindowsECom EBuildTargetType = 1000 EBuildTargetLinuxConsole EBuildTargetType = 10000 EBuildTargetLinuxECom EBuildTargetType = 11000 )
Variables ¶
This section is empty.
Functions ¶
func FilterRmNoBuild ¶
func FilterTargets ¶
Types ¶
type EBuildTargetType ¶
type EBuildTargetType int32
func (*EBuildTargetType) Ext ¶
func (b *EBuildTargetType) Ext() string
func (*EBuildTargetType) IsWindowsExecutable ¶
func (b *EBuildTargetType) IsWindowsExecutable() bool
func (*EBuildTargetType) String ¶
func (b *EBuildTargetType) String() string
type ESourceType ¶
type ESourceType int32
type FilePasswordResolver ¶
type FilePasswordResolver struct { File string ProjectDir string // contains filtered or unexported fields }
func (*FilePasswordResolver) Resolve ¶
func (f *FilePasswordResolver) Resolve(source string) string
type PasswordResolver ¶
type Source ¶
func FilterESrcs ¶
func (*Source) CompileArgs ¶
func (*Source) DisplayName ¶
func (*Source) FromConfig ¶
func (*Source) OutputPath ¶
func (*Source) RecoverESrcPath ¶
func (*Source) SourceType ¶
func (s *Source) SourceType() ESourceType
func (*Source) TargetType ¶
func (s *Source) TargetType() EBuildTargetType
Click to show internal directories.
Click to hide internal directories.