Documentation
¶
Index ¶
- func NewGitignore(service *projector.Service, config *configuration.Config) *projector.GeneratorTemplated
- func NewMakefile(service *projector.Service, config *configuration.Config) *projector.GeneratorTemplated
- type Dockerfile
- type EslintConfig
- type EslintGenerator
- type GithubWorkflow
- type PHPConfig
- type TemplateGitignoreSection
- type TemplateMakefileTarget
- type TemplatePayloadGitignore
- type TemplatePayloadMakefile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitignore ¶
func NewGitignore(service *projector.Service, config *configuration.Config) *projector.GeneratorTemplated
NewGitignore generator
func NewMakefile ¶
func NewMakefile(service *projector.Service, config *configuration.Config) *projector.GeneratorTemplated
NewMakefile generator
Types ¶
type Dockerfile ¶
Dockerfile generator
type EslintConfig ¶
type EslintConfig struct {
Env map[string]bool `json:"env"`
Extends []string `json:"extends"`
Rules map[string][]string `json:"rules"`
}
EslintConfig is the file format for the eslintrc.json
type EslintGenerator ¶
type EslintGenerator struct{}
EslintGenerator generates the .php_cs config file
type TemplateGitignoreSection ¶
TemplateGitignoreSection is a section of gitignore
type TemplateMakefileTarget ¶
type TemplateMakefileTarget struct {
Name string
Comment string
PreTargets []string
Commands []string
}
TemplateMakefileTarget is a target of Makefile
type TemplatePayloadGitignore ¶
type TemplatePayloadGitignore struct {
Sections []TemplateGitignoreSection
}
TemplatePayloadGitignore template payload
type TemplatePayloadMakefile ¶
type TemplatePayloadMakefile struct {
Variables map[string]string
Targets []*TemplateMakefileTarget
}
TemplatePayloadMakefile template payload
Click to show internal directories.
Click to hide internal directories.