Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LocalTasks = map[string]ConfigurableTool{ "pre-commit": { Name: "pre-commit", Description: "create .pre-commit-config.yaml file with pre", Configs: []SourceToDest{ { TemplateSource: "templates/pre-commit-config.yaml.tmpl", ConfigDestination: "./.pre-commit-config.yaml", }, }, }, "mkdocs": { Name: "mkdocs", Description: "create the configuration file and directory structure for mkdocs framework", }, }
View Source
var Platforms = map[string]ConfigurableTool{ "github": { Name: "GitHub", DirectoryStructure: []string{ ".github/workflows", }, }, }
View Source
var Tasks = map[string]ConfigurableTool{ "golangci-lint": { Name: "golangci-lint", Configs: []SourceToDest{ { TemplateSource: "templates/github/golangci-lint.yaml.tmpl", ConfigDestination: ".github/workflows/golangci-lint.yaml", }, { TemplateSource: "templates/golangci.yaml.tmpl", ConfigDestination: "./.golangci.yaml", }, }, }, "commitlint": { Name: "commitlint", Description: "automatically check whether commits pushed are compatible with conventional commits standard", Configs: []SourceToDest{ { TemplateSource: "templates/github/commitlint.yaml.tmpl", ConfigDestination: ".github/workflows/commitlint.yaml", }, }, }, "goreleaser": { Name: "goreleaser", Description: "automatically release binaries of your application ", Configs: []SourceToDest{ { TemplateSource: "templates/github/release.yaml.tmpl", ConfigDestination: ".github/workflows/release.yaml", }, { TemplateSource: "templates/goreleaser.yaml.tmpl", ConfigDestination: "./.goreleaser.yaml", }, { ConfigDestination: "./CHANGELOG.md", }, }, }, "dependabot": { Name: "dependabot", Configs: []SourceToDest{ { TemplateSource: "templates/github/dependabot.yaml.tmpl", ConfigDestination: ".github/dependabot.yaml", }, }, }, }
Functions ¶
This section is empty.
Types ¶
type ConfigurableTool ¶
type ConfigurableTool struct { Name string Description string // TODO: update the wizard to show descriptions of the tools DirectoryStructure []string Configs []SourceToDest }
type SourceToDest ¶
Click to show internal directories.
Click to hide internal directories.